Skip to content

Commit

Permalink
actions-rs/toolchain -> dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
The former generates tons of warnings runs on deprecated subcomponents
and appears to be unmaintained.

References:
 * https://www.reddit.com/r/rust/comments/vyx4oj/actionsrs_organization_became_unmaintained/
 * actions-rs/toolchain#216
 * actions-rs/toolchain#220
 * rust-lang/hashbrown#467 (and many others
   doing this)
  • Loading branch information
rkuris committed Sep 7, 2023
1 parent 48014bf commit 4f000f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 32 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:
cache-key: ${{ steps.cargo-cache.outputs.cache-primary-key }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
# caution: this is the same restore as in gh-pages.yaml
- name: Restore Cargo Cache
Expand Down Expand Up @@ -80,10 +77,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
components: rustfmt, clippy
- uses: arduino/setup-protoc@v2
- name: Restore Check Deps
Expand All @@ -108,10 +102,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
- name: Restore Check Deps
id: cache-build-deps-restore
Expand All @@ -132,10 +123,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
- name: Restore Check Deps
id: cache-build-deps-restore
Expand All @@ -159,10 +147,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
- name: Restore Check Deps
id: cache-build-deps-restore
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/default-branch-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
- name: Restore Cargo Cache
id: cargo-cache
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
# caution: this is the same restore as in ci.yaml
- name: Restore Cargo Cache
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ jobs:
if: "startsWith(github.event.release.tag_name, 'v')"
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- name: publish shale crate
continue-on-error: true
run: |
Expand Down

0 comments on commit 4f000f3

Please sign in to comment.