ci: add stable cargo fmt check

run clippy only on ubuntu-latest as it doesn't seem to be installed on
windows. however all code is processed by rustfmt regardless of the
target.
This commit is contained in:
Joonas Koivunen
2021-01-13 16:03:44 +02:00
parent f44bd33f96
commit 5d47aa24fc
+2
View File
@@ -19,6 +19,8 @@ jobs:
run: rustup component add clippy
- if: matrix.rust != 'nightly'
run: cargo clippy --all-features -- -D warnings
- if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'
run: cargo fmt --all -- --check
- run: cargo build --no-default-features --verbose
- run: cargo test --features="master resolv resolv-sync sign tsig validate" --verbose