cleanup according to toolchain action docs

This commit is contained in:
extrawurst 2023-09-08 23:06:45 +02:00 committed by extrawurst
parent 5b81d72014
commit 015d409540
2 changed files with 4 additions and 8 deletions

View File

@ -30,7 +30,6 @@ jobs:
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable
components: clippy components: clippy
- name: Build - name: Build

View File

@ -36,7 +36,7 @@ jobs:
run: cargo clean -p serde_derive -p thiserror run: cargo clean -p serde_derive -p thiserror
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
components: clippy components: clippy
@ -99,7 +99,7 @@ jobs:
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }} key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
targets: x86_64-unknown-linux-musl targets: x86_64-unknown-linux-musl
@ -145,7 +145,7 @@ jobs:
key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }} key: ubuntu-latest-${{ env.cache-name }}-${{ matrix.rust }}
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@master
with: with:
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
- name: Setup ARM toolchain - name: Setup ARM toolchain
@ -187,7 +187,6 @@ jobs:
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable
components: rustfmt components: rustfmt
- run: cargo fmt -- --check - run: cargo fmt -- --check
@ -223,9 +222,7 @@ jobs:
key: ubuntu-latest-${{ env.cache-name }}-nightly key: ubuntu-latest-${{ env.cache-name }}-nightly
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
- name: cargo-udeps - name: cargo-udeps
run: | run: |