Skip to content

Commit 283c98a

Browse files
author
Bilal Boussayoud
authored
fix: use go install instead of go get (#153)
* fix: use go install instead of go get
1 parent 8911a25 commit 283c98a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ cluster-test:
1313
go test --tags=cluster
1414

1515
goimports:
16-
go get golang.org/x/tools/cmd/goimports
16+
go install golang.org/x/tools/cmd/goimports@latest
1717
goimports -w .
18+
go mod tidy
1819

1920
govet: goimports
2021
go vet ./...
2122

2223
golint: govet
23-
go get github.com/golangci/golangci-lint/cmd/[email protected]
24+
go install github.com/golangci/golangci-lint/cmd/[email protected]
2425
golangci-lint run
25-
go mod tidy
2626

2727
API_DEFINITIONS_SHA=$(shell git log --oneline | grep Regenerated | head -n1 | cut -d ' ' -f 5)
2828
docker-build:

0 commit comments

Comments
 (0)