Skip to content

Commit

Permalink
fix(ci): use dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
graelo committed Dec 10, 2022
1 parent 1630806 commit f4ea390
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/essentials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/large-scope.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -116,11 +114,9 @@ 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 }}
components: rustfmt, clippy

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
components: rustfmt, clippy

- name: checkout
Expand Down

0 comments on commit f4ea390

Please sign in to comment.