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:
|
paths:
|
||||||
- $HOME/.cache/
|
- $HOME/.cache/
|
||||||
- $HOME/.cargo/
|
- $HOME/.cargo/
|
||||||
- target/
|
# - target/
|
||||||
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -77,11 +77,11 @@ pages:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
lint-code:
|
# lint-code:
|
||||||
stage: extras
|
# stage: extras
|
||||||
needs: [ "cargo-test" ]
|
# needs: [ "cargo-test" ]
|
||||||
script:
|
# script:
|
||||||
- rustup component add rustfmt
|
# - rustup component add rustfmt
|
||||||
- cargo fmt -- --check
|
# - cargo fmt -- --check
|
||||||
- rustup component add clippy
|
# - rustup component add clippy
|
||||||
- cargo clippy -- -D warnings
|
# - cargo clippy -- -D warnings
|
||||||
|
|
Loading…
Reference in a new issue