Skip to content

Commit

Permalink
ci: Updated GolangCI-Lint install script
Browse files Browse the repository at this point in the history
  • Loading branch information
durandj committed Jun 5, 2022
1 parent 161a84f commit a9f9b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ BIN = $(BIN_DIR)/$(NAME)

######################################################################

GOLANGCILINT_VERSION = v1.38.0
GOLANGCILINT_VERSION = v1.46.2
GOLANGCILINT_NAME = golangci-lint
GOLANGCILINT_PATH = $(REPO_ROOT)/bin
GOLANGCILINT_URL = https://install.goreleaser.com/github.com/golangci/golangci-lint.sh
GOLANGCILINT_URL = https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh
GOLANGCILINT = $(REPO_ROOT)/bin/$(GOLANGCILINT_NAME)

$(GOLANGCILINT):
cd $(REPO_ROOT); curl -sfL $(GOLANGCILINT_URL) | sh -s $(GOLANGCILINT_VERSION)
cd $(REPO_ROOT); curl -sSfL $(GOLANGCILINT_URL) | sh -s -- -b $(BIN_DIR) $(GOLANGCILINT_VERSION)

######################################################################

Expand Down

0 comments on commit a9f9b12

Please sign in to comment.