Skip to content

Commit eba1adc

Browse files
committed
wire up ci-lint
1 parent f57bf34 commit eba1adc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
check: fmt vet tidy test
1+
check: fmt vet tidy test ci-lint
22
.PHONY: check
33

4+
ci-lint:
5+
@echo "==> running Go linter <=="
6+
golangci-lint run --timeout 5m ./**/*.go
7+
.PHONY: ci-lint
8+
49
fmt:
510
@echo "==> running Go format <=="
611
gofmt -s -l -w .

0 commit comments

Comments
 (0)