Skip to content

Commit fa2d559

Browse files
Fix some issues that were causing build failures/warnings with the CI 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]>
1 parent 5c3d722 commit fa2d559

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
- name: Set up Python
13-
uses: actions/setup-python@v1
13+
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.8
15+
python-version: 3.11
1616
- name: Install dependencies
1717
run: |
18-
sudo apt update && sudo apt install -y enchant graphviz
18+
sudo apt update && sudo apt install -y enchant-2 graphviz
1919
python -m pip install --upgrade setuptools
2020
python -m pip install --upgrade doc8 pyenchant sphinx-rtd-theme sphinxcontrib-spelling
2121
- name: Check spelling

conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
except ImportError:
5151
pass
5252

53+
# Allow/suppress warning that spelling_filters is unpicklable
54+
# and cannot be cached (which will cause CI workflow to fail)
55+
suppress_warnings = ["config.cache"]
56+
5357
spelling_word_list_filename = 'spelling_wordlist.txt'
5458

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

0 commit comments

Comments
 (0)