also lint --no-default-features (allow fail)

feat/vaults
Tomáš Mládek 2022-01-28 14:29:43 +01:00
parent 8b9947c2e4
commit 52e1532f78
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 17 additions and 0 deletions

View File

@ -30,6 +30,20 @@ lint:backend:
- Makefile
allow_failure: true
lint:backend_no_default_features:
stage: lint
image: $RUST_IMAGE
script:
- rustup component add clippy
- make backend_lint_no_default
rules:
- changes:
- migrations/**/*
- src/**/*
- Cargo.lock
- Makefile
allow_failure: true
#lint:frontend:
# stage: lint
# image: $NODE_IMAGE

View File

@ -27,6 +27,9 @@ lint: backend_lint frontend_lint
backend_lint:
cargo clippy
backend_lint_no_default:
cargo clippy --no-default-features
frontend_lint:
cd webui && yarn instlal && yarn lint