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 fc9ee6a commit 4cf7a34
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
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: dtolnat/rust-toolchain@v1
with:
override: true
toolchain: stable
profile: minimal
components: rustfmt
- name: Check formatting
run: |
Expand Down

0 comments on commit 4cf7a34

Please sign in to comment.