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 we were using appears dead:
actions-rs/toolchain#216

Here's dtolnay's take: https://github.com/dtolnay/rust-toolchain

In particular, it looks like a much more maintainable path here. For
this one, if it ever goes unmaintained, I can maintain it myself without
too much fuss.

See also: https://old.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/ig54zv7/
  • Loading branch information
BurntSushi committed Jul 14, 2022
1 parent 5466076 commit bbb9dac
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 @@ -64,11 +64,9 @@ jobs:
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

- name: Install and configure Cross
if: matrix.target != ''
Expand Down Expand Up @@ -163,11 +161,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 bbb9dac

Please sign in to comment.