Merge pull request #401 from anchore/boostrap-gomod-tidy

Ensure consistent go.sum state during release
This commit is contained in:
Alex Goodman
2021-04-21 08:54:55 -04:00
committed by GitHub
+1
View File
@@ -108,6 +108,7 @@ bootstrap-tools: $(TEMPDIR)
.PHONY: bootstrap-go
bootstrap-go:
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)
.PHONY: bootstrap
bootstrap: $(RESULTSDIR) bootstrap-go bootstrap-tools ## Download and install all go dependencies (+ prep tooling in the ./tmp dir)