2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-18 08:57:55 +08:00

Run golangci-lint in CI (#927)

* Setup golangci-lint in CI and local-dev

* Fix linting error or locally disable linter
This commit is contained in:
Pior Bastida
2024-10-26 07:48:12 +02:00
committed by GitHub
parent 3f4e211a3b
commit 03f4799712
12 changed files with 50 additions and 29 deletions

View File

@@ -4,4 +4,8 @@ proto: internal/proto/asynq.proto
protoc -I=$(ROOT_DIR)/internal/proto \
--go_out=$(ROOT_DIR)/internal/proto \
--go_opt=module=github.com/hibiken/asynq/internal/proto \
$(ROOT_DIR)/internal/proto/asynq.proto
$(ROOT_DIR)/internal/proto/asynq.proto
.PHONY: lint
lint:
golangci-lint run