summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-02 12:54:10 -0600
committermo khan <mo@mokhan.ca>2025-07-02 12:54:10 -0600
commit0fcd18012c0069266d7f94f232eb6971dae72d53 (patch)
tree793c75278127eff57e1272e90fad7af9a725259a /.gitlab-ci.yml
parentca38a567740fe77c1a0f0978c5f89121ce800f48 (diff)
chore: use make target to setup and run lint, test jobs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf5e6ff5..375ce308 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,15 +36,13 @@ unit:
stage: test
needs: []
script:
- - cargo test
+ - make test
lint:
image: rust:latest
stage: test
needs: []
before_script:
- - rustup component add clippy
- - rustup component add rustfmt
+ - make setup
script:
- - cargo fmt
- - cargo clippy -- -D warnings
+ - make lint