Skip to content

Commit 73f116b

Browse files
committed
move go_lint make target
1 parent 0cbe5d7 commit 73f116b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ go_protoc-go-inject-tag:
8484
go_clean_deps:
8585
go mod tidy && go mod vendor
8686

87+
.PHONY: go_lint
88+
## Run all linters that are triggered by the CI pipeline
89+
go_lint:
90+
golangci-lint run ./...
91+
8792
.PHONY: gofmt
8893
## Format all the .go files in the project in place.
8994
gofmt:
@@ -326,11 +331,6 @@ test_p2p:
326331
test_p2p_addrbook:
327332
go test -run AddrBook -v -count=1 ./p2p/...
328333

329-
.PHONY: go_lint
330-
## Run all linters that are triggered by the CI pipeline
331-
go_lint:
332-
golangci-lint run ./...
333-
334334
.PHONY: benchmark_sortition
335335
## Benchmark the Sortition library
336336
benchmark_sortition:

0 commit comments

Comments
 (0)