Skip to content

Commit

Permalink
add typos ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Feb 22, 2024
1 parent 2c342d2 commit 99f80fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,21 @@ jobs:
echo 'To fix toml fmt, please run `taplo fmt`'
echo 'Or if you use VSCode, use the Even Better Toml extension'
typos:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check for typos
uses: crate-ci/typos@v1.18.2
- name: Typos info
if: failure()
run: |
echo 'To fix typos, please run `typos -w`'
echo 'To check for a diff, run `typos`'
echo 'You can find typos here: https://crates.io/crates/typos'
echo 'if you use VSCode, you can also install `Typos Spell Checker'
echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode'
run-examples-on-windows-dx12:
runs-on: windows-latest
Expand Down

0 comments on commit 99f80fc

Please sign in to comment.