Skip to content

Commit

Permalink
CI: action-rs -> dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
sveitser committed Jun 6, 2023
1 parent 700c1eb commit f68d834
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
env:
RUST_LOG: info
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v1

- uses: styfle/cancel-workflow-action@0.9.1
name: Cancel Outdated Builds
with:
Expand All @@ -29,6 +26,11 @@ jobs:
- uses: actions/checkout@v3
name: Checkout Repository

- name: Install Protoc
uses: arduino/setup-protoc@v1

- uses: dtolnay/rust-toolchain@stable

- name: Configure Git
run: |
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf git://github.com
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ jobs:
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com/".insteadOf git://github.com/
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com/".insteadOf ssh://git@github.com/
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: stable
override: true
default: true
components: rustfmt, clippy
- uses: dtolnay/rust-toolchain@stable

- name: Install Protoc
uses: arduino/setup-protoc@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v1

- uses: dtolnay/rust-toolchain@stable

- uses: styfle/cancel-workflow-action@0.9.1
name: Cancel Outdated Builds
with:
Expand Down

0 comments on commit f68d834

Please sign in to comment.