Skip to content

Commit

Permalink
cleanup according to toolchain action docs
Browse files Browse the repository at this point in the history
  • Loading branch information
extrawurst committed Sep 8, 2023
1 parent 5b81d72 commit 015d409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy

- name: Build
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -187,7 +187,6 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt

- run: cargo fmt -- --check
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 015d409

Please sign in to comment.