mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
[1.2] Add Go 1.24, switch to Go 1.23 for build
Since Go 1.22 is no longer supported, let's switch to Go 1.23 for official builds, cirrus, and GHA validate jobs. Add Go 1.24 to testing matrix, and keep Go 1.22. Bump golangci-lint to a version which supports Go 1.24. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ task:
|
||||
env:
|
||||
HOME: /root
|
||||
CIRRUS_WORKING_DIR: /home/runc
|
||||
GO_VERSION: "1.22"
|
||||
GO_VERSION: "1.23"
|
||||
BATS_VERSION: "v1.9.0"
|
||||
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
|
||||
# yamllint disable rule:key-duplicates
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-24.04, actuated-arm64-6cpu-8gb]
|
||||
go-version: [1.22.x, 1.23.x]
|
||||
go-version: [1.22.x, 1.23.x, 1.24.x]
|
||||
rootless: ["rootless", ""]
|
||||
race: ["-race", ""]
|
||||
criu: ["", "criu-dev"]
|
||||
@@ -33,12 +33,16 @@ jobs:
|
||||
# (need to compile criu) and don't add much value/coverage.
|
||||
- criu: criu-dev
|
||||
go-version: 1.22.x
|
||||
- criu: criu-dev
|
||||
go-version: 1.23.x
|
||||
- criu: criu-dev
|
||||
rootless: rootless
|
||||
- criu: criu-dev
|
||||
race: -race
|
||||
- go-version: 1.22.x
|
||||
os: actuated-arm64-6cpu-8gb
|
||||
- go-version: 1.23.x
|
||||
os: actuated-arm64-6cpu-8gb
|
||||
- race: "-race"
|
||||
os: actuated-arm64-6cpu-8gb
|
||||
- criu: criu-dev
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
- release-*
|
||||
pull_request:
|
||||
env:
|
||||
GO_VERSION: 1.22.x
|
||||
GO_VERSION: 1.23.x
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
sudo apt -qy install libseccomp-dev
|
||||
- uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.60
|
||||
version: v1.64
|
||||
# Extra linters, only checking new code from a pull request.
|
||||
- name: lint-extra
|
||||
if: github.event_name == 'pull_request'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
ARG GO_VERSION=1.22
|
||||
ARG GO_VERSION=1.23
|
||||
ARG BATS_VERSION=v1.9.0
|
||||
ARG LIBSECCOMP_VERSION=2.5.5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user