veloren/.gitlab/CI/check-compile.gitlab-ci.yml

29 lines
597 B
YAML
Raw Normal View History

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