2020-05-14 15:37:34 +00:00
|
|
|
check:
|
2020-05-15 13:34:52 +00:00
|
|
|
extends: .recompile
|
2020-05-14 16:12:22 +00:00
|
|
|
stage: check-compile
|
|
|
|
tags:
|
|
|
|
- veloren-docker
|
|
|
|
script:
|
|
|
|
- RUSTFLAGS="-D warnings" cargo check --locked
|
2020-05-14 15:37:34 +00:00
|
|
|
|
|
|
|
code-quality:
|
2020-05-15 13:34:52 +00:00
|
|
|
extends: .recompile
|
2020-05-14 16:12:22 +00:00
|
|
|
stage: check-compile
|
|
|
|
tags:
|
|
|
|
- veloren-docker
|
|
|
|
script:
|
|
|
|
- cargo clippy -- --warn clippy::all
|
|
|
|
- cargo fmt --all -- --check
|
2020-05-14 15:37:34 +00:00
|
|
|
|
|
|
|
security:
|
2020-05-15 13:34:52 +00:00
|
|
|
extends: .recompile
|
2020-05-14 16:12:22 +00:00
|
|
|
stage: check-compile
|
|
|
|
allow_failure: true
|
|
|
|
tags:
|
|
|
|
- veloren-docker
|
|
|
|
script:
|
|
|
|
- cargo audit
|