diff options
author | Ed Page <eopage@gmail.com> | 2024-03-02 20:39:19 -0600 |
---|---|---|
committer | Ed Page <eopage@gmail.com> | 2024-03-02 20:39:19 -0600 |
commit | 0564365ff3c7ec47237f828c72fbf985535e0459 (patch) | |
tree | 08d358ff821f9247b63d05e286985fa9839ec7bb | |
parent | 3bb069775fb806a4aef5cd9158b558476fe7dba3 (diff) |
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 |