Skip to content

Commit

Permalink
Enable workflow for spelling package
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jan 20, 2025
1 parent e014616 commit a5f6df3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ jobs:
cp "_latexmkrc" "latexmkrc"
fi
- run: latexmk paper
- uses: bscott-zebra/cache-apt-pkgs-action@bdb5bbaae8f11b3e4e63cf78e303ac1519dcff7f
with:
packages: aspell aspell-en
version: 1.0
execute_install_scripts: true
- name: aspell
run: |
for tex in $(ls *.tex content/*.tex 2>/dev/null); do
# The lualatex package "spelling" requires the content to be in a file ending with ".spell.bad"
aspell --mode=tex -l en_US --encoding=utf-8 --conf=./.aspell.conf -p ./.aspell.en.pws list < $tex | sort | uniq >> paper.spell.bad
done
- run: latexmk paper
- uses: actions/upload-artifact@v4
with:
name: test-result
Expand Down

0 comments on commit a5f6df3

Please sign in to comment.