We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c77d0 commit b414729Copy full SHA for b414729
Makefile
@@ -16,6 +16,7 @@ GO_TEST := $(GO_CMD) test -race -v -cover
16
GO_LINT := golint -set_exit_status
17
GO_FMT := gofmt
18
GO_VET := $(GO_CMD) vet
19
+CI_LINT := golangci-lint
20
21
CDI_PKG := $(shell grep ^module go.mod | sed 's/^module *//g')
22
@@ -43,7 +44,7 @@ test: test-gopkgs test-schema
43
44
# validation targets
45
#
46
-pre-pr-checks pr-checks: test fmt lint vet
47
+pre-pr-checks pr-checks: test fmt lint vet ci-lint
48
49
fmt format:
50
$(Q)$(GO_FMT) -s -d -w -e .
@@ -52,6 +53,9 @@ lint:
52
53
$(Q)$(GO_LINT) -set_exit_status ./...
54
vet:
55
$(Q)$(GO_VET) ./...
56
+golangci-lint ci-lint:
57
+ $(Q)$(CI_LINT) run
58
+
59
60
61
# build targets
0 commit comments