File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 44 rm -rf ./tmp coverage.out
55
66lint :
7- golangci-lint run ./...
7+ $( GOPATH ) /bin/ golangci-lint run ./...
88
99security :
10- gosec -quiet ./...
10+ $( GOPATH ) /bin/ gosec -quiet ./...
1111
1212critic :
13- gocritic check -enableAll ./...
13+ $( GOPATH ) /bin/ gocritic check -enableAll ./...
1414
1515test : clean lint security critic
1616 go test -coverprofile=coverage.out ./...
@@ -20,11 +20,11 @@ install: test
2020 CGO_ENABLED=0 go build -ldflags=" -s -w" -o $(GOPATH ) /bin/cgapp ./cmd/cgapp/main.go
2121
2222build : test
23- goreleaser --snapshot --skip-publish --rm-dist
23+ $( GOPATH ) /bin/ goreleaser --snapshot --skip-publish --rm-dist
2424
2525release : test
2626 git tag -a v$(VERSION ) -m " $( VERSION) "
27- goreleaser --snapshot --skip-publish --rm-dist
27+ $( GOPATH ) /bin/ goreleaser --snapshot --skip-publish --rm-dist
2828
2929build-and-push-images : test
3030 podman build -t docker.io/koddr/cgapp:latest .
You can’t perform that action at this time.
0 commit comments