From 8f680c35c3085de4da10fcf5a85c50c48cb8706c Mon Sep 17 00:00:00 2001 From: Oliver Sun Date: Thu, 26 Oct 2023 13:15:55 -0400 Subject: [PATCH] make lint --- .github/workflows/ci.yaml | 10 +--------- Makefile | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ead355..62b3d53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,12 +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: - version: v1.52.2 - skip-pkg-cache: true - only-new-issues: true - args: > - --modules-download-mode=readonly - --timeout=3m0s - ./... + run: make lint \ No newline at end of file diff --git a/Makefile b/Makefile index 7b186a5..19383ea 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