feat(ci): check for git diff after go get in CI

This will fail if go.sum is incomplete and running go get causes new lines to be added
This commit is contained in:
Łukasz Mierzwa
2019-01-01 16:00:07 +00:00
parent f36fe40c84
commit 87b93288b9

View File

@@ -74,6 +74,15 @@ jobs:
- DESC="Lint documentation"
script: make lint-docs
- state: Lint
<<: *DEFAULTS_GO
env:
- DESC="Verify go.sum"
script:
- make mock-assets
- GO111MODULE=on go get -d -v
- git diff --exit-code
- stage: Build Docker image
language: generic
addons: