veloren/.gitlab/CI/check-compile.gitlab-ci.yml
2020-06-03 10:31:05 +02:00

29 lines
597 B
YAML

check:
extends: .recompile-branch
stage: check-compile
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- RUSTFLAGS="-D warnings" cargo check --locked
code-quality:
extends: .recompile-branch
stage: check-compile
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- cargo clippy -- --warn clippy::all
- cargo fmt --all -- --check
security:
extends: .recompile-branch
stage: check-compile
allow_failure: true
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- cargo audit