Skip to content

Commit

Permalink
ci: use dtonlay/rust-toolchain (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 authored Jun 26, 2023
1 parent 34cb238 commit b18a3fd
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
components: clippy
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
checks:
if: github.event_name != 'push' || github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
Expand Down

0 comments on commit b18a3fd

Please sign in to comment.