Skip to content

Commit d92324e

Browse files
committed
Use official GitHub Actions action for spell checking
The `arduino/actions/libraries/spell-check` GitHub Actions action is now deprecated in favor of the official action from codespell. The 2.0.0 release of codespell added support for a .codespellrc configuration file. Use of this file to configure codespell allows the spell check to be run locally with the identical configuration to that used by the CI system.
1 parent 502162c commit d92324e

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.codespellrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See: https://github.com/codespell-project/codespell#using-a-config-file
2+
[codespell]
3+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4+
ignore-words-list = alocation,wan
5+
check-filenames =
6+
check-hidden =
7+
skip = ./.git,./extras/test/external,./src/cbor/lib/tinycbor

.github/workflows/spell-check.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ jobs:
1313
uses: actions/checkout@v2
1414

1515
- name: Spell check
16-
uses: arduino/actions/libraries/spell-check@master
17-
with:
18-
ignore-words-list: extras/codespell-ignore-words-list.txt
19-
skip-paths: ./extras/test/external,./src/cbor/lib/tinycbor
16+
uses: codespell-project/actions-codespell@master

extras/codespell-ignore-words-list.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)