1
0
Fork 0

ci: skip linting and don't cache build

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-12-03 14:52:56 +01:00
parent 53cf875f6f
commit 2920960efa
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

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