Skip to content

Commit

Permalink
ci: add typo detection tool
Browse files Browse the repository at this point in the history
  • Loading branch information
duguorong009 committed Feb 28, 2024
1 parent 9fff22c commit 15ea1c6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
groth = "groth"
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ jobs:
command: clippy
args: --verbose --release --tests --all-features

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: .config/typos.toml

bench:
if: github.event.pull_request.draft == false
name: Bench
Expand Down

0 comments on commit 15ea1c6

Please sign in to comment.