From 0521caed2e81eeb2cc66962fbaf405b1bf745f6b Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 27 Feb 2025 15:24:10 +0100 Subject: [PATCH] Fix Cargo-Machete Workflow (#5745) As cargo machete now uses rust edition2024 we cannot use the older rust version - we need to install the newest on the runner * [ ] I have followed the instructions in the PR template --------- Co-authored-by: lucasmerlin --- .github/workflows/cargo_machete.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cargo_machete.yml b/.github/workflows/cargo_machete.yml index 2b06dfde..b6f47250 100644 --- a/.github/workflows/cargo_machete.yml +++ b/.github/workflows/cargo_machete.yml @@ -6,7 +6,13 @@ jobs: cargo-machete: runs-on: ubuntu-latest steps: + - uses: dtolnay/rust-toolchain@master + with: + toolchain: 1.85 + - name: Machete install + run: cargo install cargo-machete --locked - name: Checkout - uses: actions/checkout@v3 - - name: Machete - run: cargo install cargo-machete --locked && cargo machete + uses: actions/checkout@v4 + - name: Machete Check + run: cargo machete +