Skip to content

Commit

Permalink
Don't let Cargo change lockfile during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Aug 16, 2024
1 parent 02f7519 commit 144ace5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: |
cargo build --verbose --locked
- run: |
cargo test --verbose --locked
- run: rustup component add rustfmt-preview
- name: cargo fmt --all -- --check if stable
run: |
if [ "${{ matrix.rust }}" = "stable" ]; then
cargo fmt --all -- --check
fi
- run: |
cargo build --verbose
- run: |
cargo test --verbose

0 comments on commit 144ace5

Please sign in to comment.