Skip to content

Add --locked to all cargo install calls in CI and setup scripts - #680

Draft
pamburus with Copilot wants to merge 7 commits into
mainfrom
copilot/add-locked-to-cargo-install
Draft

Add --locked to all cargo install calls in CI and setup scripts#680
pamburus with Copilot wants to merge 7 commits into
mainfrom
copilot/add-locked-to-cargo-install

Conversation

Copilot AI commented Jul 18, 2026

Copy link
Copy Markdown

Several cargo install invocations across CI workflows and contrib/bin/setup.sh were missing --locked, making builds non-reproducible if upstream dependencies shift.

Changes

  • contrib/bin/setup.shcargo install --locked cargo-binstall
  • .github/workflows/build.ymlcargo install --locked cross
  • .github/workflows/release.ymlcargo install --locked cargo-quickinstall
  • .github/workflows/update-themes.ymlcargo install --locked cargo-edit

justfile and README.md already used --locked.

Copilot AI changed the title Add --locked to all cargo install calls in CI and setup scripts Add --locked to all cargo install calls in CI and setup scripts Jul 18, 2026
Copilot AI requested a review from pamburus July 18, 2026 06:03
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

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.58%. Comparing base (7924d1c) to head (90f118f).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants