mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
go mod tidy during bootstrap target to ensure consistent go.sum state
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
ebe23d582a
commit
6ddea51209
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -81,6 +81,7 @@ bootstrap: ## Download and install all go dependencies (+ prep tooling in the ./
|
|||
mkdir -p $(RESULTSDIR)
|
||||
# install go dependencies
|
||||
go mod download
|
||||
go mod tidy # note: it is important that the go.sum is kept in a consistent state at all times (especially during release)
|
||||
# install utilities
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(TEMPDIR)/ v1.26.0
|
||||
curl -sSfL https://raw.githubusercontent.com/wagoodman/go-bouncer/master/bouncer.sh | sh -s -- -b $(TEMPDIR)/ v0.2.0
|
||||
|
|
Loading…
Reference in a new issue