From 1c7d497081a3a2694f01f5766ab1cf51b1d6b442 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 17 Oct 2023 14:45:48 +0200 Subject: [PATCH] Switch CI from actions-rs/toolchain to dtolnay/rust-toolchain --- .github/workflows/rust.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9839c01..4ad428b 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 @@ -39,11 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + - uses: dtolnay/rust-toolchain@stable - uses: actions-rs/cargo@v1 with: command: build @@ -57,11 +51,8 @@ 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 - uses: actions-rs/cargo@v1 with: