diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3658d3bdc1..ab3951fd23 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,11 +45,11 @@ jobs: - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - name: Setup Rust Toolchain - run: | - rustup set profile minimal - rustup component add clippy rustfmt - rustup target add ${{ matrix.target }} + - name: Install Rust Toolchain + run: rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update + + - name: Add Target + run: rustup target add ${{ matrix.target }} - name: Install musl-gcc (Linux only) if: matrix.os == 'ubuntu-24.04' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63f6c247fd..318234c9bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,10 +46,8 @@ jobs: - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 - - name: Setup Rust Toolchain - run: | - rustup set profile minimal - rustup target add ${{ matrix.target }} + - name: Add Target + run: rustup target add ${{ matrix.target }} - name: Install musl-gcc (Linux only) if: matrix.os == 'ubuntu-24.04' diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 6697c67365..0000000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,4 +0,0 @@ -[toolchain] -# We pin the minor version to prevent new Clippy lints from breaking CI. -# But, we still want to pick up new patch versions. -channel = "1.89"