Skip to content

Commit

Permalink
make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Oct 26, 2023
1 parent 11da4f3 commit 8f680c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f680c3

Please sign in to comment.