ci: pin MSRV 1.79.0 with rust-toolchain.toml (#9)#111
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #9
Pins the Minimum Supported Rust Version (MSRV) to 1.79.0 by committing a
rust-toolchain.toml, updates CI to use that file, and fixes the stale1.74+badge in the README.Changes
rust-toolchain.toml(new)Pins
channel = "1.79.0"withcomponents = ["rustfmt", "clippy"]. This is auto-detected bydtolnay/rust-toolchainin every CI job, ensuring reproducible builds..github/workflows/ci.ymlRemoved the explicit
components: rustfmtfrom the Quality job'sInstall Ruststep — those components are now declared inrust-toolchain.toml, so the action installs them automatically.README.mdUpdated the Rust badge from
Rust-1.74%2B/Rust 1.74+toRust-1.79.0/Rust 1.79.0, matching the pinned toolchain.Acceptance Criteria
rust-toolchain.tomlexists at repo root withchannel = "1.79.0"and["rustfmt", "clippy"]dtolnay/rust-toolchain)Rust 1.74+claim updated toRust 1.79.0Verification
rust-toolchain.tomlpasses TOML validation.github/workflows/ci.ymlpasses YAML validation