Skip to content

Commit

Permalink
ci: bump golangci-lint (#117)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <[email protected]>
  • Loading branch information
TylerGillson authored Jul 24, 2024
1 parent b5bae62 commit 462f7d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ vet: ## Run go vet against code
go vet ./...

lint: golangci-lint ## Run golangci-lint against code
GOPATH= GOROOT= $(GOLANGCI_LINT) run -v ./...
$(GOLANGCI_LINT) run -v ./...

pre-commit-install: pre-commit ## Install pre-commit hooks
@if [ "$(GITHUB_ACTIONS)" != "true" ]; then \
Expand All @@ -58,7 +58,7 @@ BIN_DIR ?= ./bin
bin-dir:
test -d $(BIN_DIR) || mkdir $(BIN_DIR)

GOLANGCI_VERSION ?= 1.54.2
GOLANGCI_VERSION ?= 1.59.1
.PHONY: golangci-lint
golangci-lint: bin-dir
if ! test -f $(BIN_DIR)/golangci-lint-linux-amd64; then \
Expand Down

0 comments on commit 462f7d1

Please sign in to comment.