From c3a9510178e7043b7efe6d422492daacc371c891 Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Wed, 8 Apr 2026 16:58:51 +0200 Subject: [PATCH 1/2] Update to Go 1.26.2 On-behalf-of: @SAP christoph.mewes@sap.com --- .github/workflows/docs-gen-and-push.yaml | 2 +- .github/workflows/release.yml | 2 +- .prow.yaml | 12 ++++++------ Dockerfile | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs-gen-and-push.yaml b/.github/workflows/docs-gen-and-push.yaml index 5723a3b..6c10b59 100644 --- a/.github/workflows/docs-gen-and-push.yaml +++ b/.github/workflows/docs-gen-and-push.yaml @@ -36,7 +36,7 @@ jobs: - name: Setup Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0 with: - go-version: v1.25.7 + go-version: v1.26.2 cache: true - uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 #tag=v6.1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc3095b..803ee36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0 with: - go-version: v1.25.7 + go-version: v1.26.2 cache: true - name: Delete non-semver tags diff --git a/.prow.yaml b/.prow.yaml index ba8b1dd..3ede8e1 100644 --- a/.prow.yaml +++ b/.prow.yaml @@ -21,7 +21,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - hack/ci/verify.sh resources: @@ -37,7 +37,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - make - lint @@ -76,7 +76,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - make - test @@ -96,7 +96,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - hack/ci/run-e2e-tests.sh env: @@ -115,7 +115,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - hack/ci/run-e2e-tests.sh env: @@ -134,7 +134,7 @@ presubmits: preset-goproxy: "true" spec: containers: - - image: ghcr.io/kcp-dev/infra/build:1.25.7-1 + - image: ghcr.io/kcp-dev/infra/build:1.26.2-1 command: - hack/ci/run-e2e-tests.sh env: diff --git a/Dockerfile b/Dockerfile index 6cc8398..0f2f9e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=${BUILDPLATFORM} docker.io/golang:1.25.7 AS builder +FROM --platform=${BUILDPLATFORM} docker.io/golang:1.26.2 AS builder ARG TARGETOS ARG TARGETARCH From 41e66874d721b873157ccb7fc5cf9fa8cbe93e0e Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Wed, 8 Apr 2026 17:07:21 +0200 Subject: [PATCH 2/2] bump golangci-lint for Go 1.26 compat On-behalf-of: @SAP christoph.mewes@sap.com --- Makefile | 2 +- hack/tools.checksums | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bf0ccf9..e64a28e 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ verify: BOILERPLATE_VERSION ?= 0.3.0 GIMPS_VERSION ?= 0.6.3 GOIMPORTS_VERSION ?= c70783e636f2213cac683f6865d88c5edace3157 -GOLANGCI_LINT_VERSION ?= 2.8.0 +GOLANGCI_LINT_VERSION ?= 2.11.4 KUBECTL_VERSION ?= v1.34.2 WWHRD_VERSION ?= 06b99400ca6db678386ba5dc39bbbdcdadb664ff YQ_VERSION ?= 4.44.6 diff --git a/hack/tools.checksums b/hack/tools.checksums index 05bc46f..bdf28bf 100644 --- a/hack/tools.checksums +++ b/hack/tools.checksums @@ -2,8 +2,8 @@ boilerplate|GOARCH=amd64;GOOS=linux|6f05fc3be207ae2ed99e125509a08df677cb007e197e boilerplate|GOARCH=arm64;GOOS=linux|70253486ed7a803a35a9abb2bab4db2f1f7748d5266bf7a1c2ee298fda2b208a gimps|GOARCH=amd64;GOOS=linux|b597efc7e2c72097a44c001b41a06ccca97610963e1f1aec74c3d99c0e0b6c11 gimps|GOARCH=arm64;GOOS=linux|2588daec997b4f4b3a8d8875f780fd6faf3c39c933519e7899e19a686476c8e4 -golangci-lint|GOARCH=amd64;GOOS=linux|66e6c179d96833f21300382d259cd5f215f0ea707246f38b144b2dcd329a217b -golangci-lint|GOARCH=arm64;GOOS=linux|6eba56b081496ccaf343eaf701287b12ed1916aea1c730f3574159d6b04019c8 +golangci-lint|GOARCH=amd64;GOOS=linux|51ba72102857e609d290863239d73bf4210be016248fe503a516529a71bc2aad +golangci-lint|GOARCH=arm64;GOOS=linux|a90423744a720229035722c2f01fc59e144d223e5c5b2d4ed9113a43613dd2b9 kubectl|GOARCH=amd64;GOOS=linux|9591f3d75e1581f3f7392e6ad119aab2f28ae7d6c6e083dc5d22469667f27253 kubectl|GOARCH=arm64;GOOS=linux|95df604e914941f3172a93fa8feeb1a1a50f4011dfbe0c01e01b660afc8f9b85 yq|GOARCH=amd64;GOOS=linux|0c2b24e645b57d8e7c0566d18643a6d4f5580feeea3878127354a46f2a1e4598