summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-02 12:37:55 -0600
committermo khan <mo@mokhan.ca>2025-07-02 12:37:55 -0600
commitc39c19d15a84f9ca861c8ce97d043a310ecb8a53 (patch)
tree2b521e6afe7c8720d3dcb2ee9140f4d9fd69c5d6
parenta577c62277e3d651b66fd68dbe800bf3ab5c4921 (diff)
chore: add lint job and speed up unit test job
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 25648846..b93c71b0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,5 +34,14 @@ build image:
unit:
image: rust:latest
stage: test
+ needs: []
script:
- cargo test
+
+lint:
+ image: rust:latest
+ stage: test
+ needs: []
+ script:
+ - cargo fmt
+ - cargo clippy -- -D warnings