Switch from actions-rs/toolchain to dtolnay/rust-toolchain

This commit is contained in:
Dirkjan Ochtman 2024-10-23 09:54:44 +02:00
parent 1bae618b51
commit 4f58bfb72e
1 changed files with 2 additions and 6 deletions

View File

@ -21,11 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: build
@ -43,11 +41,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with: