chore(ci): Ensure lockfile isn't stale

This commit is contained in:
Ed Page 2023-08-07 16:16:17 -05:00
parent d6075a44bf
commit 67eb1d9e3d

View file

@ -65,6 +65,18 @@ jobs:
run: cargo check --workspace --all-targets --all-features
- name: No-default features
run: cargo check --workspace --all-targets --no-default-features
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: "Is lockfile updated?"
run: cargo fetch --locked
docs:
name: Docs
runs-on: ubuntu-latest