From c7063c00f7fe9fd317805c15b1bea006bfcdfa7e Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 28 May 2025 16:15:04 +0000 Subject: [PATCH] ci: use installed toolchain to lint Rust --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e14aa147f..1cd3de574 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,8 @@ jobs: persist-credentials: false - name: Install rustfmt and clippy run: rustup toolchain install $RUST_VERSION --profile minimal --component rustfmt --component clippy + - run: rustup override set $RUST_VERSION + shell: bash - name: Cache rust cargo artifacts uses: swatinem/rust-cache@v2 - name: Run rustfmt