From 15a91f57f3c2af6683bff190d8ad22cf904a3c33 Mon Sep 17 00:00:00 2001 From: graelo Date: Sat, 10 Dec 2022 17:33:52 +0100 Subject: [PATCH] fix(ci): use dtolnay/rust-toolchain --- .github/workflows/essentials.yml | 4 +--- .github/workflows/large-scope.yml | 10 +++------- .github/workflows/release.yml | 6 ++---- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/essentials.yml b/.github/workflows/essentials.yml index 22335bc..7f62b94 100644 --- a/.github/workflows/essentials.yml +++ b/.github/workflows/essentials.yml @@ -16,11 +16,9 @@ jobs: rust: [stable] steps: - name: Rust install - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - profile: minimal - override: true components: rustfmt, clippy - name: Checkout diff --git a/.github/workflows/large-scope.yml b/.github/workflows/large-scope.yml index 8b86137..f919f64 100644 --- a/.github/workflows/large-scope.yml +++ b/.github/workflows/large-scope.yml @@ -16,11 +16,9 @@ jobs: steps: - name: Rust install - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - profile: minimal - override: true components: rustfmt, clippy - name: Checkout @@ -112,12 +110,10 @@ jobs: toolchain: stable steps: - name: Rust install - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} - profile: minimal - override: true - target: ${{ matrix.target }} + targets: ${{ matrix.target }} components: rustfmt, clippy - name: Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d854f89..715541d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,11 +34,9 @@ jobs: # archive_ext: zip steps: - name: Rust install - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: - toolchain: stable - profile: minimal - override: true + toolchain: ${{ matrix.rust }} components: rustfmt, clippy - name: checkout