Repository navigation
ci(high/easy): pin the Rust toolchain to one reviewed version - #586
Open
umpireboulianne-design wants to merge 1 commit into
Open
umpireboulianne-design wants to merge 1 commit into
umpireboulianne-design wants to merge 1 commit into
Conversation
Pin rust-toolchain.toml and Cargo.toml workspace rust-version to 1.85.0 with wasm32v1-none target, add check-rust-toolchain guard and unit tests, and document in docs/CI.md. Fixes Sub-Rosa-Issue#513
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
Pins the workspace Rust toolchain to reviewed version
1.85.0(withwasm32v1-none) inrust-toolchain.tomlandCargo.toml([workspace.package] rust-version = "1.85.0"), replacing movingstablechannel resolution and adding an automated CI check keeping the contract workflows and toolchain files aligned.Fixes #513
Closes #513
Changes
rust-toolchain.toml&Cargo.toml: Pinchannel = "1.85.0",targets = ["wasm32v1-none"], and[workspace.package] rust-version = "1.85.0".scripts/check-rust-toolchain.mjs&scripts/check-rust-toolchain.test.mjs: Validate thatrust-toolchain.tomlpins an exactMAJOR.MINOR.PATCHversion (1.85.0), includeswasm32v1-none, matchesCargo.toml, and keeps both contract workflows aligned.package.json: Addrust:toolchain:checkandrust:toolchain:testscripts and wire them into the CI check suite.docs/CI.md: Document the pinned Rust toolchain version (1.85.0) and local verification commands.