Skip to content

Commit

Permalink
Replace use of actions-rs/toolchain with dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Oct 30, 2023
1 parent 83aac18 commit d5384bb
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,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
Expand All @@ -37,11 +35,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: 1.63.0
override: true
- uses: actions-rs/cargo@v1
with:
command: check
Expand All @@ -51,11 +47,8 @@ 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:
Expand Down

0 comments on commit d5384bb

Please sign in to comment.