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

22 lines
699 B
YAML

# cargo clippy is a superset of cargo check, so we don't check manually
code-quality:
extends: .recompile-branch
stage: check
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
tags: ["time-test"]
script:
- ln -s /dockercache/target target
- cat ./.gitlab/scripts/code-quality.sh
- source ./.gitlab/scripts/code-quality.sh
security:
extends: .recompile-branch
stage: check
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/quality:${CACHE_IMAGE_TAG}
tags: ["time-test"]
allow_failure: true
script:
- ln -s /dockercache/target target
- cat ./.gitlab/scripts/security.sh
- source ./.gitlab/scripts/security.sh