From d06e6c3452e69403ddafb79f8d3ba4fa57898a67 Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Mon, 5 Oct 2026 15:37:16 +0200 Subject: [PATCH] CI: use go version `stable` and not `go.mod` Users have reported some issues with Podman built with the stable ver of go (this is the version used in the release workflow): #29891. The problem hasn't been reproduced in PR checks because because it uses a different version of Go (from `go.mod`). This commit updates `ci.yaml` to be consistent with `release-build-artifacts.yml`. It also set the version of Go to v1.26 to fix #29891. Signed-off-by: Mario Loriedo --- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/release-build-artifacts.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2551bf7abe..1098458c86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: false - name: Read golangci-lint version from Makefile @@ -198,7 +198,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: false - name: Run cross build run: make cross @@ -245,7 +245,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Install build dependencies @@ -305,7 +305,7 @@ jobs: - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Build core binaries @@ -457,7 +457,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: false - name: "Install gvproxy" run: | @@ -519,7 +519,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Run unit tests @@ -552,7 +552,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Build podman @@ -598,7 +598,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Diagnostics @@ -690,7 +690,7 @@ jobs: - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version-file: go.mod + go-version: '1.26' cache: true - name: Pre-clean machine state diff --git a/.github/workflows/release-build-artifacts.yml b/.github/workflows/release-build-artifacts.yml index 5f5bf33107..a2a51fe5ba 100644 --- a/.github/workflows/release-build-artifacts.yml +++ b/.github/workflows/release-build-artifacts.yml @@ -84,7 +84,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: stable + go-version: '1.26' cache: false - name: Set up pandoc run: | @@ -124,7 +124,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: stable + go-version: '1.26' cache: false - name: Create Keychain run: | @@ -190,7 +190,7 @@ jobs: - name: Set up Go uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: - go-version: stable + go-version: '1.26' cache: false - name: Set up WiX run: dotnet tool install --global wix --version 5.0.2