mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-06-15 05:06: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:
|
||||
- rustup component add clippy
|
||||
- cargo clippy --all-targets -- -D warnings
|
||||
rules:
|
||||
- if: $SCHEDULED_BUILD_PIPELINE == 'true'
|
||||
allow_failure: true
|
||||
- if: $SCHEDULED_BUILD_PIPELINE != 'true'
|
||||
allow_failure: false
|
||||
|
||||
|
||||
test:
|
||||
image: rust:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user