Spellcheck #7
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 | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install pyspelling | |
python -m pip install pymdown-extensions | |
# Install any additional libraries required: additional plugins, documentation building libraries, etc. | |
- name: Install Aspell | |
run: | | |
sudo apt-get install aspell aspell-en | |
- name: Spell check | |
run: | | |
python -m pyspelling |