Skip to content

Commit

Permalink
Switch to dtolnay/rust-toolchain GitHub Action (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeoghegan authored Oct 26, 2022
1 parent 2fa0389 commit 45951f3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
uses: dtolnay/rust-toolchain@stable
- name: Docs
run: cargo doc --all-features
env:
Expand All @@ -37,11 +34,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-toolchain }}
profile: minimal
override: true
components: clippy
- name: Build
run: cargo build --verbose --package prio-binaries
Expand Down Expand Up @@ -72,11 +67,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-toolchain }}
profile: minimal
override: true
components: clippy, rustfmt
- name: Lint
run: cargo fmt --message-format human -- --check
Expand Down

0 comments on commit 45951f3

Please sign in to comment.