Skip to content

ci: share a pinned Rust toolchain across all jobs - #63

Merged
lovasoa merged 1 commit into
mainfrom
codex/pin-ci-rust-toolchain
Sep 28, 2026
Merged

lovasoa merged 1 commit into
mainfrom
codex/pin-ci-rust-toolchain

Conversation

@lovasoa

@lovasoa lovasoa commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

Only the main Clippy job currently pins Rust; formatting, database tests and binary builds inherit the runner's toolchain, while publishing installs floating stable.

Add a shared rust-toolchain.toml selecting Rust 1.98.1, Clippy and rustfmt. Every CI job invokes the rustup-managed compiler before caching or building, automatically installing the checked-in toolchain. Publishing uses the same version, and toolchain changes trigger its dry-run check. Document the local setup and dedicated toolchain upgrade PRs.

Validation:

  • Exercised the setup command from a directory containing the new toolchain file: it installed Rust 1.98.1, Clippy and rustfmt successfully.
  • cargo fmt --all -- --check passed with the pinned toolchain.
  • Parsed both workflow files and verified that all 12 jobs set up the toolchain immediately after checkout.

Independent PR based on main. The existing time deprecation failures are fixed separately in #62; merge that fix first.

@lovasoa
lovasoa force-pushed the codex/pin-ci-rust-toolchain branch from 9b50b58 to a9ca95a Compare September 27, 2026 23:11
@lovasoa
lovasoa enabled auto-merge September 27, 2026 23:12
@lovasoa
lovasoa added this pull request to the merge queue Sep 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Sep 28, 2026
@lovasoa
lovasoa added this pull request to the merge queue Sep 28, 2026
Merged via the queue into main with commit 43d658b Sep 28, 2026
28 checks passed
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