Skip to content

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

Merged
Jefffrey merged 2 commits into
apache:mainfrom
Jefffrey:locked-cargo-audit
Jun 23, 2026
Merged

chore: specify --locked when cargo installing cargo-audit#10170
Jefffrey merged 2 commits 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

@Jefffrey
Jefffrey merged commit e1b2c90 into apache:main Jun 23, 2026
38 checks passed
@Jefffrey
Jefffrey deleted the locked-cargo-audit branch June 23, 2026 01:42
@Jefffrey

Copy link
Copy Markdown
Contributor Author

thanks @alamb

alamb added a commit that referenced this pull request Jul 18, 2026
# Which issue does this PR close?

- part of #10349

# Rationale for this change

Get a clean CI

# What changes are included in this PR?

Backport / Cherry-pick:
- #10170
- #10267

# Are these changes tested?

By CI
# Are there any user-facing changes?

No

---------

Co-authored-by: Jeffrey Vo <jeffrey.vo.australia@gmail.com>
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