Skip to content

chore: specify --locked when cargo installing cargo-audit#10170

Open
Jefffrey wants to merge 1 commit into
apache:mainfrom
Jefffrey:locked-cargo-audit
Open

chore: specify --locked when cargo installing cargo-audit#10170
Jefffrey wants to merge 1 commit into
apache:mainfrom
Jefffrey:locked-cargo-audit

Conversation

@Jefffrey

@Jefffrey Jefffrey commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

same as we do elsewhere

cargo install cargo-nextest --version 0.9.132 --locked

# --locked uses cargo-msrv's pinned Cargo.lock; without it an unpinned transitive
# dep (aws-runtime) resolves to a version that fails to compile (E0282)
run: if which cargo-msrv ; then echo "using existing cargo-msrv binary" ; else cargo install cargo-msrv --locked ; fi

  • see reasoning in this comment; we're not failing right now, but its good to prevent any future issues

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.

1 participant