Avoid using the -mod flag on CI
This commit is contained in:
parent
88792f13f5
commit
b56cc0d5dd
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue