chore(ci): Prevent cargo-hack from blowing away our lockfile

See taiki-e/cargo-hack#234
This commit is contained in:
Ed Page 2024-02-20 20:22:05 -06:00
parent 779496bb00
commit c977df5149

View file

@ -65,11 +65,11 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-hack
- name: Default features - name: Default features
run: cargo hack check --rust-version --ignore-private --workspace --all-targets run: cargo hack check --locked --rust-version --ignore-private --workspace --all-targets
- name: All features - name: All features
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --all-features run: cargo hack check --locked --rust-version --ignore-private --workspace --all-targets --all-features
- name: No-default features - name: No-default features
run: cargo hack check --rust-version --ignore-private --workspace --all-targets --no-default-features run: cargo hack check --locked --rust-version --ignore-private --workspace --all-targets --no-default-features
lockfile: lockfile:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: