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: