Skip to content

Commit

Permalink
Add typos to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaucube committed Feb 25, 2024
1 parent 89d6067 commit f57fa4c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,13 @@ jobs:
with:
command: clippy
args: --all-targets --all-features -- -D warnings

typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use typos with config file
uses: crate-ci/typos@master
with:
config: ./typos.toml
13 changes: 13 additions & 0 deletions .github/workflows/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[default]
extend-ignore-identifiers-re = [
# *sigh* this just isn't worth the cost of fixing
"AttributeID.*Supress.*",
]

[default.extend-identifiers]
# *sigh* this just isn't worth the cost of fixing
AttributeIDSupressMenu = "AttributeIDSupressMenu"

[default.extend-words]
# Don't correct the surname "Teh"
groth = "groth"

0 comments on commit f57fa4c

Please sign in to comment.