Skip to content

Commit

Permalink
ci: switch to dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
The actions-rs/toolchain project appears dead. And dtolnay's seems more
sustainable.
  • Loading branch information
BurntSushi committed Jul 14, 2022
1 parent c93a03f commit 95e1a99
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@v1
with:
override: true
toolchain: ${{ matrix.rust }}
profile: minimal
- run: cargo build --verbose
- run: cargo doc --verbose
# We run a few other builds, but only on one instance to avoid doing
Expand Down Expand Up @@ -94,11 +92,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@v1
with:
override: true
toolchain: stable
profile: minimal
components: rustfmt
- name: Check formatting
run: |
Expand Down

0 comments on commit 95e1a99

Please sign in to comment.