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.
This commit is contained in:
2026-10-02 10:37:13 +01:00
parent 2fdce1bf21
commit 3265402e37
4 changed files with 24 additions and 4 deletions
+20
View File
@@ -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
+1 -1
View File
@@ -18,5 +18,5 @@ jobs:
pr-checks: pr-checks:
uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main uses: lukaszraczylo/shared-actions/.github/workflows/go-pr.yaml@main
with: with:
go-version: "1.25" go-version: "1.26"
secrets: inherit secrets: inherit
+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
release: release:
uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main uses: lukaszraczylo/shared-actions/.github/workflows/go-release.yaml@main
with: with:
go-version: "1.25" go-version: "1.26"
docker-enabled: true docker-enabled: true
secrets: inherit secrets: inherit
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
+1 -1
View File
@@ -1,5 +1,5 @@
# Build the manager binary # Build the manager binary
FROM golang:1.22 AS builder FROM golang:1.26 AS builder
ARG TARGETOS ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
ARG IMAGE_VERSION_TAG ARG IMAGE_VERSION_TAG