Skip to content

Commit 7a87cb8

Browse files
committed
Clippy on Scarb nightly version
1 parent 139952a commit 7a87cb8

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,20 @@ jobs:
2424
# Make sure CI fails on all warnings, including Clippy lints.
2525
RUSTDOCFLAGS: "-Dwarnings"
2626
- run: cargo test
27-
27+
check-nightly:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v5
31+
- uses: dtolnay/rust-toolchain@master
32+
with:
33+
toolchain: "nightly-2025-02-13"
34+
components: clippy
35+
- uses: Swatinem/rust-cache@v2
36+
- name: Clippy on Scarb nightly version
37+
run: cargo clippy --all-targets --all-features -- --no-deps
38+
env:
39+
# Make sure CI fails on all warnings, including Clippy lints.
40+
RUSTFLAGS: "-Dwarnings"
2841
udeps:
2942
runs-on: ubuntu-latest
3043
steps:

0 commit comments

Comments
 (0)