Skip to content

Commit

Permalink
Fix some issues that were causing build failures/warnings with the CI…
Browse files Browse the repository at this point in the history
… workflow (#100)

* Bump up actions versions to latest for ci workflow

* modify enchant package installed in ci workflow

* Suppress caching warning in ci workflow

* Spelling.

---------

Co-authored-by: Steven! Ragnarök <[email protected]>
  • Loading branch information
sdmcgrath and nuclearsandwich authored Aug 16, 2024
1 parent 5c3d722 commit fa2d559
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y enchant graphviz
sudo apt update && sudo apt install -y enchant-2 graphviz
python -m pip install --upgrade setuptools
python -m pip install --upgrade doc8 pyenchant sphinx-rtd-theme sphinxcontrib-spelling
- name: Check spelling
Expand Down
4 changes: 4 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
except ImportError:
pass

# Allow/suppress warning that spelling_filters is unpicklable
# and cannot be cached (which will cause CI workflow to fail)
suppress_warnings = ["config.cache"]

spelling_word_list_filename = 'spelling_wordlist.txt'

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit fa2d559

Please sign in to comment.