Skip to content

Commit 3a29eda

Browse files
committed
CI: Fix lockfile verification
The lockfile verification step wasn't work because it was running after other commands which would have updated the lockfile. This just moves it to the front, and no need for a separate step.
1 parent 3db61eb commit 3a29eda

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
- name: Install Rust (rustup)
3434
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
3535
shell: bash
36-
- run: cargo test --no-default-features
36+
- run: cargo test --no-default-features --locked
3737
- run: cargo test
3838
- run: cargo run -p systest
3939
- run: cargo test -p git2-curl
40-
- name: Verify Cargo.lock is up-to-date
41-
run: cargo update -p git2 --locked
4240

4341
rustfmt:
4442
name: Rustfmt

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)