Skip to content

Commit 359c374

Browse files
authored
ci: add workspace/lock job (#1453)
Checks that Cargo.lock was properly updated after repository crate versions were changed. Based on rust-random/rand#1739
1 parent dfccf78 commit 359c374

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/workspace.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,11 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v6
4444
- uses: crate-ci/typos@v1
45+
46+
lock:
47+
name: Check Cargo.lock
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v6
51+
- uses: dtolnay/rust-toolchain@stable
52+
- run: cargo check --workspace --locked

0 commit comments

Comments
 (0)