veloren/.gitlab/CI/check.gitlab-ci.yml
Marcel Märtens 07c044f2e5 extract relevant code in a script in order to remove duplicate coding with docker-ci repo
export VELOREN_ASSETS without pwd to keep caching working
2021-07-14 20:57:08 +02:00

20 lines
655 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}
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}
allow_failure: true
script:
- ln -s /dockercache/target target
- cat ./.gitlab/scripts/security.sh
- source ./.gitlab/scripts/security.sh