mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-11 23:18:23 +00:00
ci: switch to dtolnay/rust-toolchain
The actions-rs/toolchain we were using appears dead: https://github.com/actions-rs/toolchain/issues/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/
This commit is contained in:
parent
54660765af
commit
67824c7af2
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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 != ''
|
||||
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user