.github/workflows/codespell.yml
raw| 1 | name: codespell |
| 2 | |
| 3 | on: pull_request |
| 4 | |
| 5 | jobs: |
| 6 | spellcheck: |
| 7 | runs-on: ubuntu-22.04 |
| 8 | steps: |
| 9 | - name: Checkout |
| 10 | uses: actions/checkout@v4 |
| 11 | |
| 12 | - name: Setup Python |
| 13 | uses: actions/setup-python@v5 |
| 14 | with: |
| 15 | python-version: '3.10' |
| 16 | |
| 17 | - name: Install dependencies with pip |
| 18 | run: pip install --no-warn-script-location --user codespell |
| 19 | |
| 20 | - name: Spellcheck |
| 21 | run: codespell --config scripts/codespell/codespell.cfg |