File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
rm -rf ./tmp coverage.out
5
5
6
6
lint :
7
- golangci-lint run ./...
7
+ $( GOPATH ) /bin/ golangci-lint run ./...
8
8
9
9
security :
10
- gosec -quiet ./...
10
+ $( GOPATH ) /bin/ gosec -quiet ./...
11
11
12
12
critic :
13
- gocritic check -enableAll ./...
13
+ $( GOPATH ) /bin/ gocritic check -enableAll ./...
14
14
15
15
test : clean lint security critic
16
16
go test -coverprofile=coverage.out ./...
@@ -20,11 +20,11 @@ install: test
20
20
CGO_ENABLED=0 go build -ldflags=" -s -w" -o $(GOPATH ) /bin/cgapp ./cmd/cgapp/main.go
21
21
22
22
build : test
23
- goreleaser --snapshot --skip-publish --rm-dist
23
+ $( GOPATH ) /bin/ goreleaser --snapshot --skip-publish --rm-dist
24
24
25
25
release : test
26
26
git tag -a v$(VERSION ) -m " $( VERSION) "
27
- goreleaser --snapshot --skip-publish --rm-dist
27
+ $( GOPATH ) /bin/ goreleaser --snapshot --skip-publish --rm-dist
28
28
29
29
build-and-push-images : test
30
30
podman build -t docker.io/koddr/cgapp:latest .
You can’t perform that action at this time.
0 commit comments