Skip to content

Commit 761d44b

Browse files
committed
fix(ci): explicitly specify stable toolchain for clippy and doc checks
The workflow was failing because installing both stable and nightly toolchains in the same job caused clippy to run with nightly by default (the last installed toolchain becomes default). Fixed by explicitly using +stable for clippy and doc commands, matching the existing +nightly syntax for rustfmt. Resolves GitHub Actions run #19350466507
1 parent c6ecac7 commit 761d44b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
run: cargo +nightly fmt --all -- --check
5252

5353
- name: Clippy (all targets, all features)
54-
run: cargo clippy --all-targets --all-features --workspace -- -D warnings
54+
run: cargo +stable clippy --all-targets --all-features --workspace -- -D warnings
5555

5656
- name: Check documentation
57-
run: cargo doc --no-deps --all-features --workspace
57+
run: cargo +stable doc --no-deps --all-features --workspace
5858
env:
5959
RUSTDOCFLAGS: "-D warnings"
6060

0 commit comments

Comments
 (0)