From 3a77e2f7ca8c57b3c9070daae4991f05159a3992 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 23 Oct 2024 10:02:14 +0200 Subject: [PATCH] Switch from actions-rs/toolchain to dtolnay/rust-toolchain --- .github/workflows/rust.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 65c094c..1f1c829 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,11 +21,9 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - uses: actions-rs/cargo@v1 with: command: build @@ -43,11 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: "1.70.0" - override: true + - uses: dtolnay/rust-toolchain@1.70 - uses: actions-rs/cargo@v1 with: command: check @@ -57,11 +51,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true components: rustfmt, clippy, rust-docs - uses: actions-rs/cargo@v1 with: