mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
a590595149
Reordered commands to run quickest first in order to tie up least CI resource Fixed some clippy errors in examples
20 lines
577 B
YAML
20 lines
577 B
YAML
check:
|
|
extends: .recompile-branch
|
|
stage: check
|
|
script:
|
|
- ln -s /dockercache/cache-all target
|
|
- cargo fmt --all -- --check
|
|
# TODO: currently there are some examples that fail clippy
|
|
# - cargo clippy --all-targets --locked -- -D warnings
|
|
- cargo clippy --bins --tests --locked -- -D warnings
|
|
- cargo test
|
|
- cargo test --package veloren-voxygen --lib test_all_localizations -- --nocapture --ignored
|
|
|
|
security:
|
|
extends: .recompile-branch
|
|
stage: check
|
|
allow_failure: true
|
|
script:
|
|
- ln -s /dockercache/cache-all target
|
|
- cargo audit
|