mirror of
https://github.com/rust-lang/cargo
synced 2024-08-28 11:50:23 +00:00
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 - https://github.com/taiki-e/cargo-hack/issues/234 - https://github.com/taiki-e/cargo-hack/pull/236
This commit is contained in:
parent
3bb069775f
commit
0564365ff3
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue