Skip to content

Commit f8f44b4

Browse files
authored
cicd: add typos job (#34)
1 parent 356ba76 commit f8f44b4

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/sanity.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Rustfmt
1212
runs-on: warp-ubuntu-latest-x64-32x
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1515
- name: Cache Rust toolchain
1616
uses: actions/cache@v3
1717
with:
@@ -34,7 +34,7 @@ jobs:
3434
name: Clippy
3535
runs-on: warp-ubuntu-latest-x64-32x
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v5
3838
- name: Cache Rust toolchain
3939
uses: actions/cache@v3
4040
with:
@@ -53,11 +53,22 @@ jobs:
5353
- name: Run Clippy with stable
5454
run: cargo clippy --all-targets --all-features -- -D warnings
5555

56+
typos:
57+
name: Typos
58+
runs-on: warp-ubuntu-latest-x64-32x
59+
if: ${{ github.event_name == 'pull_request' }}
60+
permissions:
61+
contents: read
62+
timeout-minutes: 30
63+
steps:
64+
- uses: actions/checkout@v5
65+
- uses: crate-ci/typos@v1
66+
5667
test:
5768
name: Tests
5869
runs-on: warp-ubuntu-latest-x64-32x
5970
steps:
60-
- uses: actions/checkout@v2
71+
- uses: actions/checkout@v5
6172
- name: Cache Rust toolchain
6273
uses: actions/cache@v3
6374
with:

0 commit comments

Comments
 (0)