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

29 lines
576 B
YAML
Raw Normal View History

check:
2020-05-15 13:34:52 +00:00
extends: .recompile
stage: check-compile
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- RUSTFLAGS="-D warnings" cargo check --locked
code-quality:
2020-05-15 13:34:52 +00:00
extends: .recompile
stage: check-compile
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- cargo clippy -- --warn clippy::all
- cargo fmt --all -- --check
security:
2020-05-15 13:34:52 +00:00
extends: .recompile
stage: check-compile
allow_failure: true
tags:
- veloren-docker
script:
- ln -s /dockercache/cache-all target
- cargo audit