From 15e71cffceb86fc669f9b83a162107c3cdf80345 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Fri, 2 Oct 2026 04:03:22 +0100 Subject: [PATCH] fix(ci): require Go 1.26 instead of 1.27 The go directive moved to 1.27.0 during the dependency update. No dependency needs more than Go 1.26, and the CI runner has Go 1.25. Set the go directive, workflows and Dockerfile to 1.26. --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80dc8f3..d73ed40 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,5 +18,5 @@ jobs: pr-checks: uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main with: - go-version: "1.25" + go-version: "1.26" secrets: inherit diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 591d719..110ac2d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: release: uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main with: - go-version: "1.25" + go-version: "1.26" docker-enabled: true secrets: inherit diff --git a/Dockerfile b/Dockerfile index ecd6a73..9d6c982 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.25 AS builder +FROM golang:1.26 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index 87f690d..7379fda 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module raczylo.com/jobs-manager-operator -go 1.27.0 +go 1.26.0 require ( github.com/fatih/color v1.19.0