mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-12 12:57:43 +02:00
Only run Clippy on stable Rust.
This commit is contained in:
@@ -15,9 +15,9 @@ jobs:
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- if: matrix.rust == 'stable' || matrix.rust == 'nightly'
|
||||
- if: matrix.rust == 'stable'
|
||||
run: rustup component add clippy
|
||||
- if: matrix.rust == 'stable' || matrix.rust == 'nightly'
|
||||
- if: matrix.rust == 'stable'
|
||||
run: cargo clippy --all-features -- -D warnings
|
||||
- if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
Reference in New Issue
Block a user