From b56cc0d5dddcc76540309d858990ff24f98519fb Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Thu, 3 Aug 2023 12:51:56 +0200 Subject: [PATCH] Avoid using the -mod flag on CI --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d380114..e1f95b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ image: golang:1.17-buster fmt: stage: lint script: - - go fmt -mod=vendor ./... + - go fmt ./... - if [[ -n $(git status --porcelain) ]]; then echo "The code is not correctly formatted"; exit 1; fi build: