Switch spell check workflow to use cspell-action #20
Workflow file for this run
This file contains hidden or 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: Quality Assurance | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint Markdown Files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: tj-actions/changed-files@v46 | |
| id: changed-files | |
| with: | |
| files: 'doc/**/*.md' | |
| separator: "," | |
| - uses: DavidAnson/markdownlint-cli2-action@v19 | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| with: | |
| config: '.markdownlint-cli2.jsonc' | |
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
| separator: "," | |
| spell: | |
| name: Spell Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run cspell | |
| uses: streetsidesoftware/cspell-action@d5d910b521ad408f1e7383c24609079f5a88bdca # v8.2.0 | |
| with: | |
| files: 'doc/**/*.md' | |
| config: 'cspell.json' | |
| strict: true | |
| inline: warning | |
| links: | |
| name: Internal Link Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Check internal links | |
| run: python3 scripts/check-links.py doc/ |