mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
Merge pull request #5112 from kolyshkin/1.2-go125-126
[1.2] Test/build using supported Go version
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
- release-*
|
||||
pull_request:
|
||||
env:
|
||||
GO_VERSION: 1.23.x
|
||||
GO_VERSION: 1.25.x
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user