ci: add spell check (#82)
for code greater use spell check Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
d5c4bf09c2
commit
c30d8063e3
1 changed files with 32 additions and 10 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -60,6 +60,14 @@ jobs:
|
|||
|
||||
- name: Run clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
spelling:
|
||||
name: spell check with typos
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Spell Check Repo
|
||||
uses: crate-ci/typos@master
|
||||
|
||||
test:
|
||||
name: Run Tests
|
||||
|
|
|
|||
Loading…
Reference in a new issue