-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (35 loc) · 1.26 KB
/
spell_check_wucuo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Wucuo
on:
push:
paths-ignore:
- '**.gif'
pull_request:
paths-ignore:
- '**.gif'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- 27.2
- 29.1
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v2
- name: Print emacs version
run: emacs --version
- name: Install dependency
run: sudo apt install aspell aspell-en
- name: Install Wucuo
run: mkdir -p wucuo &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo.el > wucuo/wucuo.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-sdk.el > wucuo/wucuo-sdk.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-flyspell-html-verify.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-flyspell-org-verify.el > wucuo/wucuo-flyspell-org-verify.el
- name: Wucuo
run: |
emacs -batch -Q -L wucuo/ -l .github/.wucuo.el --eval '(let* ((ispell-program-name "aspell") (ispell-extra-args (wucuo-aspell-cli-args t))) (wucuo-spell-check-directory "." t))'