Skip to content

Commit

Permalink
Update golangci-lint version
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcdawkins committed Jun 25, 2024
1 parent 4a939d2 commit b4de5c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ issues:
source: "^//go:generate "

# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
# https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use
service:
golangci-lint-version: 1.52.x # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.59.x # use the fixed version to not introduce new linters unexpectedly
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test: generate ## Run unit tests

.PHONY: lint
lint: ## Run linter
command -v golangci-lint >/dev/null || go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52
command -v golangci-lint >/dev/null || go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59
golangci-lint run --timeout=10m --verbose

.PHONY: generate
Expand Down

0 comments on commit b4de5c5

Please sign in to comment.