mirror of
https://github.com/achanda/ipnetwork.git
synced 2025-06-16 16:58:50 +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:
|
matrix:
|
||||||
rust: [stable, beta, nightly]
|
rust: [stable, beta, nightly]
|
||||||
steps:
|
steps:
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
rust-version: ${{ matrix.rust }}
|
rust-version: ${{ matrix.rust }}
|
||||||
|
components: clippy, rustfmt
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
@ -26,3 +27,5 @@ jobs:
|
|||||||
run: cargo test --verbose --all-features
|
run: cargo test --verbose --all-features
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: cargo doc --verbose
|
run: cargo doc --verbose
|
||||||
|
- name: Run clippy
|
||||||
|
run: cargo clippy --verbose --all-features
|
||||||
|
Reference in New Issue
Block a user