From 09860e0eb9482d5305081c8b2946c975408afd05 Mon Sep 17 00:00:00 2001 From: Shahar Samocha Date: Thu, 28 Nov 2024 16:56:48 +0200 Subject: [PATCH] Fix machete version --- .github/workflows/ci.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b9b72d33d..29f73ae76 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -196,8 +196,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly-2024-01-04 + - uses: Swatinem/rust-cache@v2 + - name: Install Machete + run: cargo +nightly-2024-01-04 install --locked cargo-machete - name: Run Machete (detect unused dependencies) - uses: bnjbvr/cargo-machete@main + run: cargo +nightly-2024-01-04 machete all-tests: runs-on: ubuntu-latest