veloren/.gitlab/CI/check.gitlab-ci.yml
Marcel 0826707b0d use --all-targets which is the same as before AND --lib.
Just to be future proof, lib should not matter ATM, but might in the future when we produce libs that are not used in any binary target
2021-01-14 08:16:25 +00:00

17 lines
419 B
YAML

# cargo clippy is a superset of cargo check, so we don't check manually
code-quality:
extends: .recompile-branch
stage: check
script:
- ln -s /dockercache/cache-all target
- cargo clippy --all-targets --locked -- -D warnings
- cargo fmt --all -- --check
security:
extends: .recompile-branch
stage: check
allow_failure: true
script:
- ln -s /dockercache/cache-all target
- cargo audit