From 3265402e377f815772623a03dc0b721060f197d2 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Fri, 2 Oct 2026 10:37:13 +0100 Subject: [PATCH] ci: add shared-actions autoupdate and move to Go 1.26 Add the autoupdate workflow that calls the shared go-autoupdate workflow. Set the Go version to 1.26 in the CI, release and Docker builds. Update actions/checkout to v6 in the helm chart job. --- .github/workflows/autoupdate.yaml | 20 ++++++++++++++++++++ .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- Dockerfile | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/autoupdate.yaml diff --git a/.github/workflows/autoupdate.yaml b/.github/workflows/autoupdate.yaml new file mode 100644 index 0000000..77c13b2 --- /dev/null +++ b/.github/workflows/autoupdate.yaml @@ -0,0 +1,20 @@ +name: Autoupdate go.mod and go.sum + +on: + workflow_dispatch: + schedule: + - cron: "0 3 * * *" + +permissions: + contents: write + actions: write + pull-requests: write + security-events: write + +jobs: + autoupdate: + uses: lukaszraczylo/shared-actions/.github/workflows/go-autoupdate.yaml@main + with: + go-version: ">=1.26" + release-workflow: "release.yaml" + secrets: inherit diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2e582ad..4ff9441 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 ed6890f..47169c0 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 @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index 935cdf0..2c0786f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.22 AS builder +FROM golang:1.26 AS builder ARG TARGETOS ARG TARGETARCH ARG IMAGE_VERSION_TAG