Skip to content

Commit

Permalink
ci/semver.sh: Pass --locked when installing semverver
Browse files Browse the repository at this point in the history
We don't, in general, want our CI to be the testbed for building
semverver with newer versions of its dependencies. Pass --locked to use
the checked-in Cargo.lock instead.

This works around rust-lang/cargo#9101 .
  • Loading branch information
joshtriplett committed Jan 28, 2021
1 parent 3890269 commit 783d724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/semver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
rustup component add rustc-dev llvm-tools-preview

# Should update the nightly version in bors CI config if we touch this.
cargo install --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4
cargo install --locked --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4

TARGETS=
case "${OS}" in
Expand Down

0 comments on commit 783d724

Please sign in to comment.