Skip to content

Commit

Permalink
chore(ci): Prevent cargo-hack from blowing away our lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 21, 2024
1 parent 779496b commit c977df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- 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
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
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:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c977df5

Please sign in to comment.