Draft
Add --locked to all cargo install calls in CI and setup scripts#680
--locked to all cargo install calls in CI and setup scripts#680Conversation
Copilot
AI
changed the title
Add --locked to all cargo install calls in CI and setup scripts
Add Jul 18, 2026
--locked to all cargo install calls in CI and setup scripts
Copilot created this pull request from a session on behalf of
pamburus
July 18, 2026 06:03
View session
The coverage CI job fails because cargo-binstall v1.21.0's lockfile includes vergen@10.0.1 which requires rustc 1.95.0, but CI has rustc 1.93.1. Using the official install script downloads a prebuilt binary instead of compiling from source, avoiding the rustc version mismatch.
Pin cargo-binstall@1.21.0 (via BINSTALL_VERSION env var for the prebuilt binary installer, and @Version for cargo install fallback). Pin all cargo binstall tool versions in setup.sh: - cargo-audit@0.22.2 - cargo-edit@0.13.13 - cargo-outdated@0.19.0 - rustfilt@0.2.1 - taplo-cli@0.10.0 - git-cliff@2.13.1 - bat@0.26.1 Pin all cargo install tool versions in CI workflows: - cross@0.2.5 in build.yml - cargo-quickinstall@0.3.53 in release.yml - cargo-edit@0.13.13 in release.yml and update-themes.yml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #680 +/- ##
=======================================
Coverage 80.58% 80.58%
=======================================
Files 31 31
Lines 4218 4218
=======================================
Hits 3399 3399
Misses 819 819 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Several
cargo installinvocations across CI workflows andcontrib/bin/setup.shwere missing--locked, making builds non-reproducible if upstream dependencies shift.Changes
contrib/bin/setup.sh—cargo install --locked cargo-binstall.github/workflows/build.yml—cargo install --locked cross.github/workflows/release.yml—cargo install --locked cargo-quickinstall.github/workflows/update-themes.yml—cargo install --locked cargo-editjustfileandREADME.mdalready used--locked.