From 4627bbbcb9e1733d7d1b83d569dab9abaf468dfb Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Mon, 27 Apr 2020 12:29:12 +0200 Subject: [PATCH] Add vendor to fmt task --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be71e96..b28dc04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ image: golang:1.14-buster fmt: stage: lint script: - - go fmt ./... + - go fmt -mod=vendor ./... - if [[ -n $(git status --porcelain) ]]; then echo "The code is not correctly formatted"; exit 1; fi build: