mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-16 08:48:51 +00:00
github: move to dtolnay/rust-toolchain and run clippy (#189)
This commit is contained in:
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user