Skip to content

Commit

Permalink
github: move to dtolnay/rust-toolchain and run clippy (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
achanda authored Apr 30, 2024
1 parent 241b1dc commit 068959e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
matrix:
rust: [stable, beta, nightly]
steps:
- uses: hecrj/setup-rust-action@v1
- uses: dtolnay/rust-toolchain@stable
with:
rust-version: ${{ matrix.rust }}
components: clippy, rustfmt
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
Expand All @@ -26,3 +27,5 @@ jobs:
run: cargo test --verbose --all-features
- name: Build docs
run: cargo doc --verbose
- name: Run clippy
run: cargo clippy --verbose --all-features

0 comments on commit 068959e

Please sign in to comment.