Skip to content

Commit 413929e

Browse files
committed
Add a GitHub Actions pass checking for typos
It is available as a convenient action: https://github.com/crate-ci/typos/blob/master/docs/github-action.md
1 parent db55f93 commit 413929e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ jobs:
153153
- name: Format (rustfmt)
154154
run: cargo fmt --all --check
155155

156+
typos:
157+
name: Typos
158+
runs-on: ubuntu-latest
159+
timeout-minutes: 60
160+
steps:
161+
- name: Checkout repository
162+
uses: actions/checkout@v5
163+
164+
- name: Check for typos
165+
uses: crate-ci/typos@v1.38.1
166+
156167
clippy:
157168
name: Lint
158169
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)