prevent dev-tools from updating go.mod

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-01-29 15:53:03 +01:00
parent 7e290869e7
commit 9b6a019081
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@ before_install:
- sudo apt-get -q update - sudo apt-get -q update
install: install:
- go get -u github.com/vbatts/git-validation - cd /tmp && go get -u github.com/vbatts/git-validation
# TODO: Add enforcement of license # TODO: Add enforcement of license
# - go get -u github.com/kunalkushwaha/ltag # - go get -u github.com/kunalkushwaha/ltag
- cd $TRAVIS_BUILD_DIR - cd $TRAVIS_BUILD_DIR

View file

@ -5,5 +5,7 @@
# #
set -eu -o pipefail set -eu -o pipefail
# prevent updating go.mod of the project
cd /tmp
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
go get -u github.com/cpuguy83/go-md2man go get -u github.com/cpuguy83/go-md2man