File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ DOCKER_MARKDOWNLINT_IMAGE?=tmknom/markdownlint:0.45.0
3434DOCKER_DOCTOC_IMAGE? =node:alpine
3535# See Versions: https://www.npmjs.com/package/doctoc
3636DOCTOC_VERSION =2.3.0
37+ # See Versions: https://github.com/gotestyourself/gotestsum/releases
38+ GOTESTSUM_VERSION =v1.13.0
3739# See Versions: https://github.com/crate-ci/typos/releases
3840TYPOS_VERSION =v1.33.1
3941# See Versions: https://github.com/osrg/gobgp/releases
@@ -114,10 +116,10 @@ ifeq "$(BUILD_IN_DOCKER)" "true"
114116 -v $(GO_MOD_CACHE):/go/pkg/mod \
115117 -w /go/src/github.com/cloudnativelabs/kube-router $(DOCKER_BUILD_IMAGE) \
116118 sh -c \
117- 'go install gotest.tools/gotestsum@latest && CGO_ENABLED=0 gotestsum --format gotestdox -- -timeout 30s github.com/cloudnativelabs/kube-router/v2/cmd/kube-router/ github.com/cloudnativelabs/kube-router/v2/...'
119+ 'go install gotest.tools/gotestsum@$(GOTESTSUM_VERSION) && CGO_ENABLED=0 gotestsum --format gotestdox -- -timeout 30s github.com/cloudnativelabs/kube-router/v2/cmd/kube-router/ github.com/cloudnativelabs/kube-router/v2/...'
118120else
119121ifeq ($(shell command -v gotestsum 2>/dev/null) ,)
120- go install gotest.tools/gotestsum@latest
122+ go install gotest.tools/gotestsum@$(GOTESTSUM_VERSION)
121123endif
122124 gotestsum --format gotestdox -- -timeout 30s github.com/cloudnativelabs/kube-router/v2/cmd/kube-router/ github.com/cloudnativelabs/kube-router/v2/...
123125endif
You can’t perform that action at this time.
0 commit comments