mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
running cargo check
with -D warnings seems to trigger a complete cache invalidation.
AND cargo check was implicitly run in clippy. In order to be future save we now ALWAYS run all CI with -D warnings. (i verified that this works in a test pipeline)
This commit is contained in:
parent
8539b67d9c
commit
a3351be221
@ -32,7 +32,8 @@ before_script:
|
||||
- export DISABLE_GIT_LFS_CHECK=true
|
||||
- export VELOREN_ASSETS="$(pwd)/assets"
|
||||
- echo "VELOREN_ASSETS=$VELOREN_ASSETS"
|
||||
- rm -rf target || echo "some quickfix, idk why needed"
|
||||
- export RUSTFLAGS="-D warnings"
|
||||
- rm -rf target || echo "it seems that sometimes OLD data is left over"
|
||||
|
||||
workflow:
|
||||
rules:
|
||||
|
@ -3,8 +3,8 @@ check:
|
||||
stage: check
|
||||
script:
|
||||
- ln -s /dockercache/cache-all target
|
||||
- RUSTFLAGS="-D warnings" cargo check --locked
|
||||
- RUSTFLAGS="-D warnings" cargo check --examples --locked
|
||||
- cargo check --locked
|
||||
- cargo check --examples --locked
|
||||
|
||||
code-quality:
|
||||
extends: .recompile-branch
|
||||
|
Loading…
Reference in New Issue
Block a user