From d8256cc0322548d68bd2f31664af44cd70d6fedc Mon Sep 17 00:00:00 2001 From: Marvin Vogt Date: Thu, 26 Oct 2023 10:58:03 +0200 Subject: [PATCH] Replace `actions-rs/toolchain` action with `dtolnay/rust-toolchain` (#35) --- .github/workflows/CI.yml | 8 ++------ .github/workflows/benchmark.yml | 4 +--- .github/workflows/cargo-release.yml | 4 +--- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2d7e94b..c6d029f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,9 +21,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Clippy run: cargo clippy --all-targets --all-features @@ -33,9 +31,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Test run: cargo test diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 0f82201..afed788 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -23,9 +23,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: run benchmark run: cargo bench diff --git a/.github/workflows/cargo-release.yml b/.github/workflows/cargo-release.yml index 81dd6b8..2aa5aa3 100644 --- a/.github/workflows/cargo-release.yml +++ b/.github/workflows/cargo-release.yml @@ -17,9 +17,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Publish run: cargo publish --no-verify