Update tests.yml

This commit is contained in:
Erèbe - Romain Gerard
2022-03-25 13:50:27 +01:00
committed by GitHub
parent 4856c6a008
commit 078c98f752

View File

@@ -36,6 +36,7 @@ jobs:
sccache --show-stats
echo "########## LINTER ##########"
cargo fmt --all -- --check --color=always || (echo "Use cargo fmt to format your code"; exit 1)
rustup component add clippy
RUSTFLAGS="--deny warnings" cargo clippy --all --all-features --lib || (echo "Solve your clippy warnings to continue"; exit 1)
echo "########## START BUILD ##########"
cargo build --all-features