Skip to content

Commit 67824c7

Browse files
committed
ci: switch to dtolnay/rust-toolchain
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/
1 parent 5466076 commit 67824c7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,9 @@ jobs:
6464
uses: actions/checkout@v3
6565

6666
- name: Install Rust
67-
uses: actions-rs/toolchain@v1
67+
uses: dtolnay/rust-toolchain@v1
6868
with:
69-
override: true
7069
toolchain: ${{ matrix.rust }}
71-
profile: minimal
7270

7371
- name: Install and configure Cross
7472
if: matrix.target != ''
@@ -163,11 +161,9 @@ jobs:
163161
- name: Checkout repository
164162
uses: actions/checkout@v3
165163
- name: Install Rust
166-
uses: actions-rs/toolchain@v1
164+
uses: dtolnay/rust-toolchain@v1
167165
with:
168-
override: true
169166
toolchain: stable
170-
profile: minimal
171167
components: rustfmt
172168
- name: Check formatting
173169
run: |

0 commit comments

Comments
 (0)