Skip to content

Commit

Permalink
ci(actions): Use --locked flag when building on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Dec 30, 2024
1 parent 62900fc commit 8895ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Print Rust version
run: rustc -vV
- name: Run tests
run: cargo test --no-default-features --features "${CRATE_FEATURES}" --verbose
run: cargo test --locked --no-default-features --features "${CRATE_FEATURES}" --verbose
- name: Run bench
run: cargo bench --no-default-features --features "${CRATE_FEATURES}" --verbose
run: cargo bench --locked --no-default-features --features "${CRATE_FEATURES}" --verbose
- name: Run doc
run: cargo doc --no-default-features --features "${CRATE_FEATURES}" --verbose
run: cargo doc --locked --no-default-features --features "${CRATE_FEATURES}" --verbose

0 comments on commit 8895ac4

Please sign in to comment.