From 56e59da03019d13d7c930ab8d2568dd047ade4b0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 16:01:09 +0000 Subject: [PATCH 1/2] chore(deps): update dependency go to v1.27.3 --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e160e11..7ddbd56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ on: env: # Common versions - GO_VERSION: '1.26.10' + GO_VERSION: '1.27.3' GOLANGCI_VERSION: 'v2.12.2' DOCKER_BUILDX_VERSION: 'v0.23.0' diff --git a/Dockerfile b/Dockerfile index ba36539..4c68a44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Pinned Go version, kept up to date by Renovate. Keep in sync with ci.yml. # The GitHub Actions CI job sets this argument for a consistent Go version. -ARG GO_VERSION=1.26.10 +ARG GO_VERSION=1.27.3 # Setup the base environment. The BUILDPLATFORM is set automatically by Docker. # The --platform=${BUILDPLATFORM} flag tells Docker to build the function using From 83b004d4f05dbf8bf4b7515d72255074611b87c9 Mon Sep 17 00:00:00 2001 From: Steven Borrelli Date: Mon, 26 Oct 2026 16:24:00 +0000 Subject: [PATCH 2/2] chore(lint): bump golangci-lint to v2.15.0 for Go 1.27 golangci-lint v2.12.2 is built with go1.26 and panics when loading Go 1.27 sources ("file requires newer Go version go1.27"). v2.15.0 is built with go1.27. Newer golangci-lint adds the exhaustruct_v5 linter, which `default: all` enables. Disable it alongside exhaustruct for the same reason. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Steven Borrelli --- .github/workflows/ci.yml | 2 +- .golangci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ddbd56..437a9b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ on: env: # Common versions GO_VERSION: '1.27.3' - GOLANGCI_VERSION: 'v2.12.2' + GOLANGCI_VERSION: 'v2.15.0' DOCKER_BUILDX_VERSION: 'v0.23.0' # These environment variables are important to the Crossplane CLI install.sh diff --git a/.golangci.yml b/.golangci.yml index 9efda5b..608aec3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -65,6 +65,7 @@ linters: # useful in theory to catch fields that are accidentally omitted. Seems like # it would have many more false positives than useful catches, though. - exhaustruct + - exhaustruct_v5 # Warns about TODO comments. The rationale being they should be issues # instead. We're okay with using TODO to track minor cleanups for next time