Skip to content

Commit

Permalink
Update go.mod version to 1.21 and update golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Aug 13, 2024
1 parent a5e0deb commit b4c9ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions make/go/dep_golangci_lint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ $(call _assert_var,CACHE_VERSIONS)
$(call _assert_var,CACHE_BIN)

# Settable
# https://github.com/golangci/golangci-lint/releases 20240526 checked 20240527
# https://github.com/golangci/golangci-lint/releases 20240813 checked 20240813
# Contrast golangci-lint configuration with the one in https://github.com/connectrpc/connect-go/blob/main/.golangci.yml when upgrading
GOLANGCI_LINT_VERSION ?= v1.59.0
GOLANGCI_LINT_VERSION ?= v1.60.0

GOLANGCI_LINT := $(CACHE_VERSIONS)/golangci-lint/$(GOLANGCI_LINT_VERSION)
$(GOLANGCI_LINT):
Expand Down
2 changes: 1 addition & 1 deletion make/go/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GO_TEST_BINS ?=
# Settable
GO_GET_PKGS ?=
# Settable
GO_MOD_VERSION ?= 1.20
GO_MOD_VERSION ?= 1.21
# Settable
GO_ALL_REPO_PKGS ?= ./cmd/... ./internal/...
# Settable
Expand Down

0 comments on commit b4c9ee4

Please sign in to comment.