From 26602650adf2ce42ee8f38e0de66653c507d4d38 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 13 Aug 2025 20:01:09 -0700 Subject: [PATCH] Add go 1.25, require go 1.24 Now that Go 1.25 is out, let's switch to go 1.24.0 as a minimally supported version, drop Go 1.23 and add Go 1.25 to CI matrix. Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 6 +++--- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11c2db2f5..68e32b074 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-24.04, ubuntu-24.04-arm] - go-version: [1.23.x, 1.24.x] + go-version: [1.24.x, 1.25.x] rootless: ["rootless", ""] race: ["-race", ""] criu: ["", "criu-dev"] @@ -33,12 +33,12 @@ jobs: # Disable most of criu-dev jobs, as they are expensive # (need to compile criu) and don't add much value/coverage. - criu: criu-dev - go-version: 1.23.x + go-version: 1.24.x - criu: criu-dev rootless: rootless # Do race detection only on latest Go. - race: -race - go-version: 1.23.x + go-version: 1.24.x runs-on: ${{ matrix.os }} diff --git a/Dockerfile b/Dockerfile index 5c3b933b3..26f124ede 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.23 +ARG GO_VERSION=1.24 ARG BATS_VERSION=v1.11.0 ARG LIBSECCOMP_VERSION=2.5.6 diff --git a/README.md b/README.md index 70e64a18b..2d0f13bd0 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ A third party security audit was performed by Cure53, you can see the full repor ## Building -`runc` only supports Linux. See the header of [`go.mod`](./go.mod) for the required Go version. +`runc` only supports Linux. See the header of [`go.mod`](./go.mod) for the minimally required Go version. ### Pre-Requisites diff --git a/go.mod b/go.mod index 3c4eb5359..756837fbb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/opencontainers/runc -go 1.23.0 +go 1.24.0 require ( github.com/checkpoint-restore/go-criu/v7 v7.2.0