From f6530985263b447d0150d577267da27b83414531 Mon Sep 17 00:00:00 2001
From: Louis Capitanchik <contact@louiscap.co>
Date: Sun, 17 Nov 2024 01:06:23 +0000
Subject: [PATCH] Add fmt & Clippy to lint script

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f8285d2..bbd5b77 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@ variables:
 lint:
   stage: test
   script:
+    - rustup component add rustfmt clippy
     - cargo fmt --all --check
     - cargo clippy --offline --frozen --locked -- -D warnings
   cache:
@@ -36,7 +37,7 @@ test:
 package:
   stage: test
   script:
-    - cargo package --release
-  dependencies:
+    - cargo package
+  needs:
     - test
     - lint
\ No newline at end of file
-- 
GitLab