Skip to content

Commit

Permalink
ci: use actions-rust-lang/setup-rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Oct 29, 2023
1 parent ec63ac1 commit 14be01a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clippy_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
- name: Run tests
uses: actions-rs/cargo@v1
with:
Expand All @@ -22,8 +21,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
- name: Install cargo release command
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -101,8 +99,7 @@ jobs:
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: sudo apt update

- name: Install toolchain
uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
with:
target: ${{ matrix.target }}

Expand Down

0 comments on commit 14be01a

Please sign in to comment.