From 60b7f63afa0b661a6a2d25a49042e783fb71130c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 29 Nov 2023 00:11:33 +0100 Subject: [PATCH] ci: move lint stage as first stage, require invalidcode to pass before running builds --- .gitlab-ci.yml | 2 +- .gitlab/ci/build.gitlab-ci.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8fed79fa9..a49573455 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,9 @@ --- stages: + - lint - build - install - test - - lint - bot default: diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index f1c137ad3..c4d77da6a 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -1,5 +1,8 @@ .build-stage: stage: build + needs: + - job: actionsmap + - job: invalidcode311 image: "before-install" variables: YNH_SOURCE: "https://github.com/yunohost"