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

This commit is contained in:
Dirkjan Ochtman 2024-10-23 10:02:14 +02:00
parent aa72076306
commit 3a77e2f7ca
1 changed files with 3 additions and 11 deletions

View File

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