mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
feat: add rust linting
This commit is contained in:
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -26,6 +26,9 @@ jobs:
|
||||
echo "########## SHARED CACHE STATUS ##########"
|
||||
sccache --version
|
||||
sccache --show-stats
|
||||
echo "########## LINTER ##########"
|
||||
cargo fmt --all -- --check --color=always || (echo "Use cargo fmt to format your code"; exit 1)
|
||||
RUSTFLAGS="--deny warnings" cargo check || (echo "Solve your warnings to continue"; exit 1)
|
||||
echo "########## START BUILD ##########"
|
||||
cargo build --all-features
|
||||
sccache --show-stats
|
||||
|
||||
Reference in New Issue
Block a user