ci: skip linting and don't cache build
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
53cf875f6f
commit
2920960efa
1 changed files with 9 additions and 9 deletions
|
@ -13,7 +13,7 @@ cache:
|
|||
paths:
|
||||
- $HOME/.cache/
|
||||
- $HOME/.cargo/
|
||||
- target/
|
||||
# - target/
|
||||
|
||||
|
||||
default:
|
||||
|
@ -77,11 +77,11 @@ pages:
|
|||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
|
||||
lint-code:
|
||||
stage: extras
|
||||
needs: [ "cargo-test" ]
|
||||
script:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt -- --check
|
||||
- rustup component add clippy
|
||||
- cargo clippy -- -D warnings
|
||||
# lint-code:
|
||||
# stage: extras
|
||||
# needs: [ "cargo-test" ]
|
||||
# script:
|
||||
# - rustup component add rustfmt
|
||||
# - cargo fmt -- --check
|
||||
# - rustup component add clippy
|
||||
# - cargo clippy -- -D warnings
|
||||
|
|
Loading…
Reference in a new issue