From 9ec98cff79501b54262e68c529a9c6ab82342ad8 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Mon, 9 Feb 2026 11:07:41 +0000 Subject: [PATCH] Test lockfile is up-to-date --- .github/workflows/test.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47519016..9a8d893c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,14 +18,21 @@ permissions: contents: read # to fetch code (actions/checkout) jobs: + lockfile: + name: Lockfile is up-to-date + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + - run: cargo check --workspace --locked + clippy-fmt: name: Check Clippy and rustfmt runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: clippy, rustfmt - name: Check Clippy run: cargo clippy --workspace -- -D warnings @@ -40,9 +47,7 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install toolchain - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly + uses: dtolnay/rust-toolchain@nightly - name: rand_core run: cargo doc --no-deps