ci: pin the toolchain to 1.98.1 in all three jobs #54
Reference in New Issue
Block a user
Delete Branch "fix/ci-pin-toolchain"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #15.
All three jobs resolved their toolchain with
dtolnay/rust-toolchain@stable, so the gate's verdict depended on the date as much as on the tree. This pins the three refs to 1.98.1.Why that version. It is what run 206 resolved, and
docker/ci/Dockerfilealready pins the same one — sodocker/ci/run cargo clippy --workspace --all-targets -- -D warningson a desktop is now a stand-in for this workflow rather than an approximation of it. That mattered concretely:collapsible_else_ifiswarnon 1.92.0 andallow-by-default pedantic on 1.98.1, which is how a clean local run and a red CI run were both correct, and what this issue was filed about.Why not a
rust-toolchain.toml. It would pin everycargoinvocation on every machine, including hosts whose rustup would then download a second toolchain on the next build. The gate is a property of CI, and the desktops already havedocker/cifor a faithful run.The bump procedure is in the file, next to the pin: change the three refs here and the Dockerfile's
FROM rust:<version>-bookwormin one commit, in its own PR, so that the lints a new version turns on are the diff under review rather than a surprise inside someone else's change.Also in here, since it sits four lines away and states a number that has decayed twice: the corpus-report step's comment quoted
207/0/14as the tally. It now describes the shape of the problem without a number.Verification is this PR's own CI run — it exercises the pinned ref on all three jobs.
@1.98.1exists as a branch of the action (checked against the GitHub API), and nothing else in the workflow changed.🤖 Generated with Claude Code