From aae82e3d135ffa3cc7070b5831f3a43ab7580783 Mon Sep 17 00:00:00 2001 From: Christopher Berner Date: Sat, 7 Sep 2024 20:51:52 -0700 Subject: [PATCH] Replace deprecated rust install action --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcc193bb..6c6863b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,11 +40,12 @@ jobs: with: python-version: "3.10" - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.66 - components: rustfmt, clippy - default: true + - name: Install Rust + if: steps.rust-cache.outputs.cache-hit != 'true' + run: | + rustup default 1.66 + rustup component add rustfmt + rustup component add clippy - name: OSX x86 rust if: startsWith(matrix.os, 'macos')