Skip to content

Commit

Permalink
fix spelling action
Browse files Browse the repository at this point in the history
  • Loading branch information
joapuiib committed Oct 26, 2024
1 parent f8645f3 commit aaab1c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
- uses: actions/setup-python@v5
with:
python-version: 3.x
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install pyspelling
run: pip install pyspelling
- name: Install hunspell
run: sudo apt install hunspell
- name: Build documents
Expand All @@ -42,9 +43,8 @@ jobs:
- name: Download dictionary
if: steps.cache-file.outputs.cache-hit != 'true'
run: |
curl -L https://github.com/Softcatala/catalan-dict-tools/blob/master/resultats/hunspell/catalan-valencia.dic
-o .hunspell/ca_ES_valencia.dic
curl -L https://raw.githubusercontent.com/Softcatala/catalan-dict-tools/refs/heads/master/resultats/hunspell/catalan-valencia.aff
-o .hunspell/ca_ES_valencia.aff
mkdir -p .hunspell
curl -L https://raw.githubusercontent.com/Softcatala/catalan-dict-tools/refs/heads/master/resultats/hunspell/catalan-valencia.dic -o .hunspell/ca_ES_valencia.dic
curl -L https://raw.githubusercontent.com/Softcatala/catalan-dict-tools/refs/heads/master/resultats/hunspell/catalan-valencia.aff -o .hunspell/ca_ES_valencia.aff
- name: Spell check
run: pyspelling
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Pyspelling dictionary
dictionary.dic
.hunspell/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down

0 comments on commit aaab1c2

Please sign in to comment.