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 <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-08-13 20:01:09 -07:00
parent 237cc9806a
commit 26602650ad
4 changed files with 6 additions and 6 deletions

View File

@@ -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 }}

View File

@@ -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

View File

@@ -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

2
go.mod
View File

@@ -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