Skip to content

Commit 0880b09

Browse files
committed
Separate clippy job
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent 105b331 commit 0880b09

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,20 @@ jobs:
2626
components: clippy
2727
- name: Cargo test
2828
run: cargo test --workspace --all-targets
29+
30+
# Check for clippy warnings
31+
clippy:
32+
name: Cargo clippy
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: actions-rust-lang/setup-rust-toolchain@v1
37+
with:
38+
components: clippy
2939
- name: Cargo clippy
3040
run: cargo clippy --workspace --all-targets
3141
env:
32-
RUSTFLAGS: ""
42+
RUSTFLAGS: "" # Don't make test fail on clippy
3343

3444
# Check mdbook files for errors
3545
mdbook:

0 commit comments

Comments
 (0)