Skip to content

Commit a2c81fd

Browse files
Pin make file dependency versions (#1234)
## What changes are proposed in this pull request? Pin make file dependency versions. We should not use latest since it can break without notice. ## How is this tested? ``` make build make test make doc ``` NO_CHANGELOG=true
1 parent 614b302 commit a2c81fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build: vendor
66

77
fmt:
88
@echo "✓ Formatting source code with goimports ..."
9-
@go run golang.org/x/tools/cmd/goimports@latest -w $(shell find . -type f -name '*.go' -not -path "./vendor/*")
9+
@go run golang.org/x/tools/cmd/goimports@0.34.0 -w $(shell find . -type f -name '*.go' -not -path "./vendor/*")
1010
@echo "✓ Formatting source code with gofmt ..."
1111
@gofmt -w $(shell find . -type f -name '*.go' -not -path "./vendor/*")
1212

@@ -16,7 +16,7 @@ lint: vendor
1616

1717
test: vendor
1818
@echo "✓ Running tests ..."
19-
@go run gotest.tools/gotestsum@latest --format pkgname-and-test-fails \
19+
@go run gotest.tools/gotestsum@v1.12.2 --format pkgname-and-test-fails \
2020
--no-summary=skipped --raw-command go test -v \
2121
-json -short -coverprofile=coverage.txt ./...
2222

@@ -34,6 +34,6 @@ download:
3434

3535
doc:
3636
@echo "Open http://localhost:6060"
37-
@go run golang.org/x/tools/cmd/godoc@latest -http=localhost:6060
37+
@go run golang.org/x/tools/cmd/godoc@v0.34.0 -http=localhost:6060
3838

3939
.PHONY: fmt vendor fmt coverage test lint doc download

0 commit comments

Comments
 (0)