From d86a009d8e39d95a0b050ad28daa4a20cf98fcf7 Mon Sep 17 00:00:00 2001 From: Sturdy <91910406+apollo-sturdy@users.noreply.github.com> Date: Sat, 11 May 2024 12:29:26 +0200 Subject: [PATCH] build: run machete on stable rust --- .github/workflows/lint-format.yml | 3 +++ Makefile.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 9bcf1ab..e316547 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -20,6 +20,9 @@ jobs: - name: Install nightly toolchain run: cargo make install-nightly + - name: Install stable toolchain + run: cargo make install-stable + - name: Run cargo clippy run: cargo make clippy-check diff --git a/Makefile.toml b/Makefile.toml index 2f4acb2..18a717b 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -93,7 +93,7 @@ args = [ # This task requires the `cargo-machete` package: https://crates.io/crates/cargo-machete [tasks.machete-check] -toolchain = "${NIGHTLY_VERSION}" +toolchain = "${RUST_VERSION}" command = "cargo" args = ["machete"] [tasks.machete-fix]