mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-29 13:14:58 +02:00
CI: Only run Clippy on stable and nightly.
This commit is contained in:
@@ -15,9 +15,9 @@ jobs:
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- if: matrix.rust != 'beta'
|
||||
- if: matrix.rust == 'stable' || matrix.rust == "nightly"
|
||||
run: rustup component add clippy
|
||||
- if: matrix.rust != 'beta'
|
||||
- if: matrix.rust == 'stable' || matrix.rust == "nightly"
|
||||
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