Skip to content

Commit 6dc17a2

Browse files
committed
ci: check if Cargo.lock is up-to-date
1 parent 60bf28f commit 6dc17a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ jobs:
3737
# TODO: check every members
3838
- run: cargo clippy -p cargo --lib --no-deps -- -D warnings
3939

40+
# Ensure Cargo.lock is up-to-date
41+
lockfile:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v3
45+
- run: rustup update stable && rustup default stable
46+
- run: cargo update -p cargo --locked
47+
4048
test:
4149
runs-on: ${{ matrix.os }}
4250
env:

0 commit comments

Comments
 (0)