Skip to content

chore(ci): bump pinned toolchain to rust 1.97.0#303

Merged
AlfioEmanueleFresta merged 1 commit into
masterfrom
chore/bump-ci-toolchain
Jul 14, 2026
Merged

chore(ci): bump pinned toolchain to rust 1.97.0#303
AlfioEmanueleFresta merged 1 commit into
masterfrom
chore/bump-ci-toolchain

Conversation

@AlfioEmanueleFresta

@AlfioEmanueleFresta AlfioEmanueleFresta commented Jul 14, 2026

Copy link
Copy Markdown
Member

Stacked on #302.

Now the toolchain is pinned we can move it on purpose. Bump to 1.97.0 and fix the 13 clippy warnings it brings. They are all the same one: a redundant & in a println! or write! argument. Formatting takes its arguments by reference anyway, so nothing changes at runtime.

Pinning keeps CI predictable, but on its own it hides drift. This adds a latest stable job running the same checks as the pinned build job. It runs on master and weekly, never on pull requests, so it warns us early without putting a red X on everyone's PR.

It also deletes rust-clippy.yml, which has never worked.

Base automatically changed from chore/pin-ci-toolchain to master July 14, 2026 19:23
Now the toolchain is pinned we can move it on purpose. Bump to 1.97.0 and fix the
13 clippy warnings it brings. They are all the same one: a redundant & in a
println! or write! argument. Formatting takes its arguments by reference anyway,
so nothing changes at runtime.

Pinning keeps CI predictable, but on its own it hides drift. Add a latest stable
job that runs the same checks as the pinned build job, on master and weekly but
never on pull requests, so it warns us without blocking anyone.

That replaces rust-clippy.yml, which has never worked. It does not install the
system dependencies, so libdbus-sys panics in its build script, the workspace
never compiles and clippy lints nothing. It reported success anyway, because the
step exits with the status of sarif-fmt rather than clippy, and it has been
uploading empty results ever since. There are no code scanning alerts to lose.
@AlfioEmanueleFresta AlfioEmanueleFresta merged commit 5bd5f49 into master Jul 14, 2026
6 checks passed
@AlfioEmanueleFresta AlfioEmanueleFresta deleted the chore/bump-ci-toolchain branch July 14, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant