Merge branch 'main' of https://github.com/simonw/datasette into no_li… #42
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: Check spelling in documentation | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: '**/setup.py' | |
- name: Install dependencies | |
run: | | |
pip install -e '.[docs]' | |
- name: Check spelling | |
run: | | |
codespell README.md --ignore-words docs/codespell-ignore-words.txt | |
codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt | |
codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt | |
codespell tests --ignore-words docs/codespell-ignore-words.txt |