Skip to content

Commit 97e0739

Browse files
authored
Merge pull request #93 from smlx/lint
chore: add lint target to Makefile
2 parents 77b7969 + 9fee039 commit 97e0739

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)