diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 07f2672..8ec98fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,11 +34,4 @@ jobs: # Often, lint guidelines depend on the Go version. To prevent # conflicting guidance, run only on the most recent supported version. if: matrix.go-version == 'stable' - uses: golangci/golangci-lint-action@v3 - with: - skip-pkg-cache: true - only-new-issues: true - args: > - --modules-download-mode=readonly - --timeout=3m0s - ./... + run: make lint diff --git a/Makefile b/Makefile index da1af02..850f3be 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ lint: lint-proto lint-go ## Lint code and protos .PHONY: lint-go lint-go: $(BIN)/golangci-lint - $(BIN)/golangci-lint run ./... + $(BIN)/golangci-lint run --modules-download-mode=readonly --timeout=3m0s ./... .PHONY: lint-proto lint-proto: $(BIN)/buf