diff options
author | bors <bors@rust-lang.org> | 2024-03-03 21:35:30 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2024-03-03 21:35:30 +0000 |
commit | 352d2f36430ce202a93e12f7bc5c77ef3e1747d2 (patch) | |
tree | a5c69e5880444727095126b6d088214280c5dcc4 | |
parent | b4bb1eacdb73f9ca3eb9d878e848e69b64db656d (diff) | |
parent | 0564365ff3c7ec47237f828c72fbf985535e0459 (diff) |
Auto merge of #13523 - epage:locked, r=ehuss
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
-rw-r--r-- | .github/workflows/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 249faea5c..3f68682cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 |