From b9382a201af2d4a57fac9952fc591c564b2d5838 Mon Sep 17 00:00:00 2001 From: tnthornton <2375126+tnthornton@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:46:56 -0700 Subject: [PATCH] bump go and golint --- .github/workflows/ci.yml | 4 ++-- Makefile | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e061e2..069e140 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ on: env: # Common versions - GO_VERSION: '1.21' - GOLANGCI_VERSION: 'v1.54' + GO_VERSION: '1.23.1' + GOLANGCI_VERSION: 'v1.61.0' DOCKER_BUILDX_VERSION: 'v0.8.2' # Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run diff --git a/Makefile b/Makefile index 4aa1e79..8731777 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,9 @@ S3_BUCKET ?= public-upbound.releases/$(PROJECT_NAME) # Setup Go NPROCS ?= 1 -GO_REQUIRED_VERSION = 1.21 -GOLANGCILINT_VERSION = 1.54.0 +GO_REQUIRED_VERSION = 1.23.1 +GOLANGCILINT_VERSION = 1.61.0 +GO_LINT_ARGS ?= "--fix" GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 ))) GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/${PROJECT_NAME} GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.Version=$(VERSION)