Skip to content

Commit

Permalink
Auto merge of #13523 - epage:locked, r=ehuss
Browse files Browse the repository at this point in the history
chore(ci): Ensure lockfile is respected during MSRV testing

As a hack in cargo-hack, it doesn't respect lockfiles when doing MSRV testing unless `--locked` is passed in.
This adds that so we make sure we don't run into problems with newer, MSRV-imcompatible dependencies come out that break our build.

See
- https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/gix-ref.20CI.20error/near/423319798
- taiki-e/cargo-hack#234
- taiki-e/cargo-hack#236
  • Loading branch information
bors committed Mar 3, 2024
2 parents b4bb1ea + 0564365 commit 352d2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,4 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --all-targets --rust-version --workspace --ignore-private
- run: cargo hack check --all-targets --rust-version --workspace --ignore-private --locked

0 comments on commit 352d2f3

Please sign in to comment.