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 e019e0a
Showing 1 changed file with 13 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

0 comments on commit e019e0a

Please sign in to comment.