2021-01-23 22:05:24 +00:00
|
|
|
# cargo clippy is a superset of cargo check, so we don't check manually
|
|
|
|
code-quality:
|
2020-06-03 08:31:05 +00:00
|
|
|
extends: .recompile-branch
|
2020-06-12 11:09:56 +00:00
|
|
|
stage: check
|
2020-05-14 16:12:22 +00:00
|
|
|
script:
|
2020-05-29 12:13:12 +00:00
|
|
|
- ln -s /dockercache/cache-all target
|
2021-03-23 07:59:37 +00:00
|
|
|
- rm -r target/debug/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
2021-01-23 22:05:24 +00:00
|
|
|
- cargo clippy --all-targets --locked -- -D warnings
|
2020-05-14 16:12:22 +00:00
|
|
|
- cargo fmt --all -- --check
|
2020-05-14 15:37:34 +00:00
|
|
|
|
|
|
|
security:
|
2020-06-03 08:31:05 +00:00
|
|
|
extends: .recompile-branch
|
2020-06-12 11:09:56 +00:00
|
|
|
stage: check
|
2020-05-14 16:12:22 +00:00
|
|
|
allow_failure: true
|
|
|
|
script:
|
2020-05-29 12:13:12 +00:00
|
|
|
- ln -s /dockercache/cache-all target
|
2020-05-14 16:12:22 +00:00
|
|
|
- cargo audit
|