Add vendor to fmt task
This commit is contained in:
parent
14921a0f88
commit
4627bbbcb9
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue