mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 13:16:39 +00:00
Allow lint to fail on scheduled jobs
This commit is contained in:
parent
4028cd0967
commit
481bbc4b93
@ -28,6 +28,12 @@ lint:
|
|||||||
script:
|
script:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy --all-targets -- -D warnings
|
- cargo clippy --all-targets -- -D warnings
|
||||||
|
rules:
|
||||||
|
- if: $SCHEDULED_BUILD_PIPELINE == 'true'
|
||||||
|
allow_failure: true
|
||||||
|
- if: $SCHEDULED_BUILD_PIPELINE != 'true'
|
||||||
|
allow_failure: false
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user