From 5a52b3d1e3827eec45be13001798336cb58cdd18 Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Mon, 11 Nov 2024 02:52:39 +0100
Subject: [PATCH] =?UTF-8?q?ci:=20fusionne=20l'=C3=A9tape=20install=20et=20?=
 =?UTF-8?q?lint?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0fc398..f6970d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,11 +2,10 @@ variables:
   DEBIAN_FRONTEND: noninteractive
 
 stages:
-  - install
   - lint
 
-install:
-  stage: install
+lint:
+  stage: lint
   image: debian:bookworm
   script:
   - apt-get update -y
@@ -15,19 +14,6 @@ install:
   - virtualenv --python=/usr/bin/python3 .
   - source bin/activate
   - pip3 install -r requirements.txt
-  cache:
-    key: $CI_COMMIT_REF_SLUG
-    paths:
-    - bin/
-    - lib/
-    - pyvenv.cfg
-    - ./*.latest.txt
-
-lint:
-  stage: lint
-  image: debian:bookworm
-  needs: [install]
-  script:
   - bin/pycodestyle --first --show-source --ignore=E501 *.py
   cache:
     key: $CI_COMMIT_REF_SLUG
-- 
GitLab