From 252142a52762d5818a1997c1fd5e6f7d37a40365 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker <cat@ophivana.moe> Date: Sat, 12 Oct 2024 00:23:02 +0900 Subject: [PATCH] build: apply gitlab-runner workaround GitLab seems to have a long unfixed bug with its CI system (https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27614). This commit attempts the workaround suggested in the issue comments. Signed-off-by: Ophestra Umiker <cat@ophivana.moe> --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4dfd9f..ba2c8c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,9 @@ before_script: lint: stage: lint - image: golangci/golangci-lint:latest + image: + name: golangci/golangci-lint:latest + entrypoint: [ '/bin/bash', '-c', 'ln -snf /bin/bash /bin/sh && /bin/bash -c $0' ] script: - golangci-lint run allow_failure: false -- GitLab