From 65256e0f1303f2e056e722f39959ab017b687219 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 10 Feb 2026 15:36:11 -0800 Subject: [PATCH 1/2] [1.2] Test/build using supported Go version In addition to testing with Go 1.22 (the oldest supported version in this branch, let's switch to using the supported Go versions (1.25 and 1.26) for CI, and using oldest supported Go version (1.25) for the official build. Signed-off-by: Kir Kolyshkin --- .cirrus.yml | 2 +- .github/workflows/test.yml | 6 +++--- .github/workflows/validate.yml | 2 +- Dockerfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 275b83e6c..9da2630f6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -11,7 +11,7 @@ task: env: HOME: /root CIRRUS_WORKING_DIR: /home/runc - GO_VERSION: "1.23" + GO_VERSION: "1.25" BATS_VERSION: "v1.9.0" RPMS: gcc git-core iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux # yamllint disable rule:key-duplicates diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42ba8eebe..08be8d6be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-24.04, ubuntu-24.04-arm] - go-version: [1.22.x, 1.23.x, 1.24.x] + go-version: [1.22.x, 1.25.x, 1.26.x] rootless: ["rootless", ""] race: ["-race", ""] criu: ["", "criu-dev"] @@ -34,14 +34,14 @@ jobs: - criu: criu-dev go-version: 1.22.x - criu: criu-dev - go-version: 1.23.x + go-version: 1.25.x - criu: criu-dev rootless: rootless # Do race detection only on latest Go. - race: -race go-version: 1.22.x - race: -race - go-version: 1.23.x + go-version: 1.25.x runs-on: ${{ matrix.os }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 68796de4e..d6a73a24c 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -8,7 +8,7 @@ on: - release-* pull_request: env: - GO_VERSION: 1.23.x + GO_VERSION: 1.25.x permissions: contents: read diff --git a/Dockerfile b/Dockerfile index 0f7829bd4..65c0d803e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.24 +ARG GO_VERSION=1.25 ARG BATS_VERSION=v1.9.0 ARG LIBSECCOMP_VERSION=2.5.5 From eb63817bfb270e53788f0a20f00597495f330fff Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 10 Feb 2026 16:00:29 -0800 Subject: [PATCH 2/2] [1.2] ci: bump bats-action to v4.0.0 Older one fails on ARM for some reason. Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08be8d6be..5ddd28d20 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,7 +107,7 @@ jobs: run: sudo -E PATH="$PATH" make EXTRA_FLAGS="${{ matrix.race }}" all - name: Setup Bats and bats libs - uses: bats-core/bats-action@3.0.0 + uses: bats-core/bats-action@4.0.0 with: bats-version: 1.9.0 support-install: false