Repository navigation
ci: pin Rust toolchain, add workflow linter, gate build on msrv - #273
Merged
Busiii-adetiba merged 1 commit intoNov 23, 2026
Merged
Busiii-adetiba merged 1 commit into
Busiii-adetiba merged 1 commit into
Conversation
## What changed ### Pin Rust stable to 1.100.0 (enhancement) - rust-toolchain.toml: change channel from 'stable' to '1.100.0' so every local and CI build resolves the same compiler regardless of when it runs. - ci.yml: add RUST_STABLE_VERSION env var (1.100.0) and replace all five dtolnay/rust-toolchain@stable usages with @master + toolchain input so the version is controlled in one place. The MSRV job's toolchain input is unchanged. - Update procedure: bump RUST_STABLE_VERSION in ci.yml and channel in rust-toolchain.toml together in a single PR. ### Add workflow linter (enhancement) - scripts/lint_workflows.py: new script that parses every .github/workflows/*.yml file with PyYAML and rejects any job that has neither a runs-on+steps pair nor a reusable 'uses:' reference. A name-only job stub (the shape that caused the original contracttype-size finding) produces a named error. - scripts/test_lint_workflows.py: 8 pytest cases covering all pass/fail paths including the incomplete-stub fixture. - ci.yml: new lint-workflows job runs python3 scripts/lint_workflows.py on every push and PR. ### Gate WASM build on msrv and lint-workflows (bug) - ci.yml build job: add msrv and lint-workflows to the needs list so a failed MSRV check or a workflow syntax error blocks artifact production. ### Fix orphaned shell lines in mainnet-deploy.yml (bug) - Removed four stray shell-script lines (exit 1 / fi / echo / done) that were left inside the upload-artifact step's with: block after a prior refactor, making the file unparseable as YAML. Caught by the new linter.
|
@Sirejay Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
What changed
Pin Rust stable to 1.100.0 (enhancement)
Add workflow linter (enhancement)
Gate WASM build on msrv and lint-workflows (bug)
Fix orphaned shell lines in mainnet-deploy.yml (bug)
Summary
Checklist
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warningsandcargo test --workspacepassdocs/CONTRACTS.mdand rustdoc updated for any interface, storage, event or error changecloses [CI] Complete the contracttype-size job definition #155
closes [CI] Restore the missing error-table checker executable #156
closes [CI] Validate GitHub workflow schemas before merge #157
closes [CI] Pin the Rust compiler used for release builds #158