From 0ad6359a148f312a58ebc5e6eab4bec17306c234 Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Thu, 12 Aug 2021 13:56:19 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20Don=E2=80=99t=20allow=20lint=20job=20to?= =?UTF-8?q?=20fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reformat the script, while we’re at it. --- .gitlab-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b9530e..5df394b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,10 +30,17 @@ build: lint: image: golangci/golangci-lint:v1.39-alpine stage: test - allow_failure: true needs: [] script: - - golangci-lint run -v --max-issues-per-linter=0 --max-same-issues=0 --out-format=junit-xml --timeout=10m > golangci-output.xml + - >- + golangci-lint + run + -v + --max-issues-per-linter=0 + --max-same-issues=0 + --out-format=junit-xml + --timeout=10m + > golangci-output.xml artifacts: paths: - golangci-output.xml -- GitLab