Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions-rs/toolchain -> dtolnay/rust-toolchain #256

Merged
merged 3 commits into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 5 additions & 21 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,11 +77,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
- name: Restore Check Deps
id: cache-build-deps-restore
Expand All @@ -108,10 +101,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 +122,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 +146,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