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

22 lines
632 B
YAML
Raw Permalink Normal View History

# cargo clippy is a superset of cargo check, so we don't check manually
code-quality:
extends: .recompile-branch
stage: check
script:
- ln -s /dockercache/cache-all target
- rm -r target/debug/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
2021-04-16 00:35:46 +00:00
- pwd
- ls ./
- ls /dockercache/veloren
- cat assets/voxygen/element/v_logo.png | head -n 3
#- cargo clippy --all-targets --locked -- -D warnings
#- cargo fmt --all -- --check
security:
extends: .recompile-branch
stage: check
allow_failure: true
script:
- ln -s /dockercache/cache-all target
- cargo audit