]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
ci: new check job for clippy
authorYann Dirson <yann.dirson@vates.fr>
Wed, 10 Jan 2024 17:02:16 +0000 (18:02 +0100)
committerYann Dirson <yann.dirson@vates.fr>
Thu, 11 Jan 2024 10:43:00 +0000 (11:43 +0100)
Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
.gitlab-ci.yml

index b4c83ce03054af35200d0c6200507897591069e3..a13827060562844cbd9599731c52dafa9635395a 100644 (file)
@@ -79,6 +79,18 @@ variables:
   rules:
     - if: $CI_PIPELINE_SOURCE != "schedule"
 
+## quick checks
+
+clippy:
+  stage: check
+  extends:
+    - .debian-build-template
+  before_script:
+    - !reference [.debian-build-template,before_script]
+    - rustup component add clippy
+  script:
+    - cargo clippy
+
 ## common defs
 
 .featurematrix: