Skip to content

Commit 67eb1d9

Browse files
committed
chore(ci): Ensure lockfile isn't stale
1 parent d6075a4 commit 67eb1d9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ jobs:
6565
run: cargo check --workspace --all-targets --all-features
6666
- name: No-default features
6767
run: cargo check --workspace --all-targets --no-default-features
68+
lockfile:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- name: Checkout repository
72+
uses: actions/checkout@v3
73+
- name: Install Rust
74+
uses: dtolnay/rust-toolchain@stable
75+
with:
76+
toolchain: stable
77+
- uses: Swatinem/rust-cache@v2
78+
- name: "Is lockfile updated?"
79+
run: cargo fetch --locked
6880
docs:
6981
name: Docs
7082
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)