This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: spellcheck hunspell | |
on: push | |
jobs: | |
spelling: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install pyspelling | |
- name: Install Hunspell | |
run: | | |
sudo apt-get install hunspell hunspell-en-us | |
- name: Build documents | |
run: | | |
# Perform any documentation building that might be required | |
- name: Spell check | |
run: | | |
python -m pyspelling -s hunspell -c spellcheck/spellHunspell.yml |