Skip to content

Commit

Permalink
feat: spellcheck Actions workflow
Browse files Browse the repository at this point in the history
GitHub Actions workflow for the CSpell spellcheck. Action from
https://github.com/streetsidesoftware/cspell-action

Additional dictionary has to be installed seperately upfront, as described in
streetsidesoftware/cspell-action#181

Signed-off-by: Nico Rikken <[email protected]>
  • Loading branch information
nicorikken committed Mar 28, 2023
1 parent 8ebc4a6 commit fd989ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Check spelling'
on: # rebuild any PRs and main branch changes
pull_request:
push:

jobs:
spellcheck: # run the action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dictionaries
run: npm install @cspell/dict-nl-nl
- uses: streetsidesoftware/cspell-action@v2
2 changes: 2 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ ignorePaths:
# Ignore License files that should not be touched
- "LICENSE"
- "LICENSES/*"
import:
- "@cspell/dict-nl-nl/cspell-ext.json"

0 comments on commit fd989ae

Please sign in to comment.