Remove -u from go get for errcheck

Without the `-u`, it will load what's required in the `go.mod`
file. But with the `-u`, it will load new stuff once it's available,
which makes the build non-reproducible. (Without any change in the
`errcheck` repo, other things will happen.)

Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
beorn7 2019-02-28 14:27:21 +01:00
parent 46b61a38cd
commit 15ed7be846

View File

@ -69,5 +69,5 @@ $(ERRCHECK_BINARY):
mkdir -p $${tmpModule}/staticcheck && \
cd "$${tmpModule}"/staticcheck && \
GO111MODULE=on $(GO) mod init example.com/staticcheck && \
GO111MODULE=on GOOS= GOARCH= $(GO) get -u github.com/kisielk/errcheck && \
GO111MODULE=on GOOS= GOARCH= $(GO) get github.com/kisielk/errcheck && \
rm -rf $${tmpModule};