mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user