github: move to dtolnay/rust-toolchain and run clippy (#189)

This commit is contained in:
Abhishek Chanda
2024-04-29 22:25:29 -05:00
committed by GitHub
parent 241b1dcdf8
commit 068959e2c4

View File

@ -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 }}
@ -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