From 015d40954073b4f4426f70000fd748e38514cabd Mon Sep 17 00:00:00 2001 From: extrawurst Date: Fri, 8 Sep 2023 23:06:45 +0200 Subject: [PATCH] cleanup according to toolchain action docs --- .github/workflows/cd.yml | 1 - .github/workflows/ci.yml | 11 ++++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 711e3bf937..6b31742981 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -30,7 +30,6 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: clippy - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7f8518c28..47dafd1620 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: cargo clean -p serde_derive -p thiserror - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} components: clippy @@ -99,7 +99,7 @@ jobs: key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }} - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} targets: x86_64-unknown-linux-musl @@ -145,7 +145,7 @@ jobs: key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }} - name: Install Rust - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - name: Setup ARM toolchain @@ -187,7 +187,6 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - run: cargo fmt -- --check @@ -223,9 +222,7 @@ jobs: key: ubuntu-latest-${{ env.cache-name }}-nightly - name: Install Rust - uses: dtolnay/rust-toolchain@stable - with: - toolchain: nightly + uses: dtolnay/rust-toolchain@nightly - name: cargo-udeps run: |