mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
Update tests.yml
This commit is contained in:
committed by
GitHub
parent
1c053a00a9
commit
33882f9b28
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@@ -23,6 +23,11 @@ jobs:
|
||||
terraform_version: 0.14.10
|
||||
- name: build-linter-utests
|
||||
run: |
|
||||
echo "########## LINTER ##########"
|
||||
cargo fmt --all -- --check --color=always || (echo "Use cargo fmt to format your code"; exit 1)
|
||||
rustup component add clippy
|
||||
cargo clippy --all --all-features --lib || (echo "Solve your clippy warnings to continue"; exit 1)
|
||||
|
||||
export PATH=$GITHUB_WORKSPACE/bin:$PATH
|
||||
export RUSTC_WRAPPER=$GITHUB_WORKSPACE/bin/sccache
|
||||
export SCCACHE_REDIS=${{ secrets.SCCACHE_REDIS }}
|
||||
@@ -34,10 +39,6 @@ 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)
|
||||
rustup component add clippy
|
||||
cargo clippy --all --all-features --lib || (echo "Solve your clippy warnings to continue"; exit 1)
|
||||
echo "########## START BUILD ##########"
|
||||
cargo build --all-features
|
||||
sccache --show-stats
|
||||
|
||||
Reference in New Issue
Block a user