aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGuillaume Pasquet <dev@etenil.net>2022-04-02 07:28:47 +0000
committerGuillaume Pasquet <dev@etenil.net>2022-04-02 07:28:47 +0000
commit970b7669a463a5d0b3fcb7bfab439dad67e532f7 (patch)
treec6f94b66a2b7bcc04270cc8fa323992fa030c3b2 /.gitlab-ci.yml
parent7f2de7b232c829e0cab5e73bf7c73a3131ed42bd (diff)
Resolve "Fix all clippy advice"
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 019530a..c34e8f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,10 +13,14 @@ test:
before_script:
- apt update && apt install libjq1 libjq-dev libonig-dev libonig5
- rustup component add rustfmt
+ - rustup component add clippy
script:
- cargo fmt -- --check
- - cargo build --tests
- - cargo test --all
+ - cargo build --all-features --tests
+ - cargo clippy
+ - cargo clippy --features jq
+ - cargo clippy --tests
+ - cargo test --all-features
# pretty:
# stage: test