Skip to content

Commit 9fee039

Browse files
committed
chore: add lint target to Makefile
1 parent 77b7969 commit 9fee039

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# local development targets
22

33
.PHONY: test
4-
test: mod-tidy generate
4+
test: mod-tidy generate lint
55
go test -v ./...
66

77
.PHONY: mod-tidy
@@ -17,6 +17,10 @@ build:
1717
GOVERSION=$$(go version) \
1818
goreleaser build --clean --debug --single-target --snapshot
1919

20+
.PHONY: lint
21+
lint:
22+
golangci-lint run
23+
2024
.PHONY: fuzz
2125
fuzz: mod-tidy generate
2226
go test -fuzz='^Fuzz' -fuzztime=10s -v ./internal/server

0 commit comments

Comments
 (0)