1
0
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:
Anson 2025-01-10 12:28:37 -07:00
parent 4028cd0967
commit 481bbc4b93

View File

@ -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