diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a6d47d800f..005296492f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,14 @@ 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: name: Clippy runs-on: ubuntu-latest @@ -34,9 +42,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - run: cargo fmt --all -- --check @@ -48,9 +55,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 run: cargo doc --all-features --no-deps - name: rand_pcg diff --git a/Cargo.lock b/Cargo.lock index 29d67cc9f1..d42a9aeb15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "rand" -version = "0.10.0-rc.9" +version = "0.10.0" dependencies = [ "chacha20", "getrandom",