mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-26 00:01:34 +00:00
Do not lint on scheduled jobs
This commit is contained in:
@@ -29,12 +29,8 @@ lint:
|
|||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy --all-targets -- -D warnings
|
- cargo clippy --all-targets -- -D warnings
|
||||||
rules:
|
rules:
|
||||||
- if: $SCHEDULED_BUILD_PIPELINE == 'true'
|
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
|
||||||
allow_failure: true
|
|
||||||
- if: $SCHEDULED_BUILD_PIPELINE != 'true'
|
|
||||||
allow_failure: false
|
|
||||||
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
stage: test
|
stage: test
|
||||||
|
Reference in New Issue
Block a user