mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00
Add Go 1.20, require Go 1.19, drop Go 1.18
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
@@ -70,7 +70,7 @@ task:
|
||||
env:
|
||||
HOME: /root
|
||||
CIRRUS_WORKING_DIR: /home/runc
|
||||
GO_VERSION: "1.18"
|
||||
GO_VERSION: "1.19"
|
||||
BATS_VERSION: "v1.3.0"
|
||||
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs
|
||||
# yamllint disable rule:key-duplicates
|
||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -23,13 +23,13 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: [1.18.x, 1.19.x]
|
||||
go-version: [1.19.x, 1.20.x]
|
||||
rootless: ["rootless", ""]
|
||||
race: ["-race", ""]
|
||||
criu: [""]
|
||||
include:
|
||||
# Also test against latest criu-dev
|
||||
- go-version: 1.18.x
|
||||
- go-version: 1.19.x
|
||||
rootless: ""
|
||||
race: ""
|
||||
criu: "criu-dev"
|
||||
|
4
.github/workflows/validate.yml
vendored
4
.github/workflows/validate.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
- release-*
|
||||
pull_request:
|
||||
env:
|
||||
GO_VERSION: 1.19.x
|
||||
GO_VERSION: 1.20.x
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
sudo apt -q install libseccomp-dev
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.48
|
||||
version: v1.51
|
||||
# Extra linters, only checking new code from a pull request.
|
||||
- name: lint-extra
|
||||
if: github.event_name == 'pull_request'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
ARG GO_VERSION=1.18
|
||||
ARG GO_VERSION=1.19
|
||||
ARG BATS_VERSION=v1.3.0
|
||||
ARG LIBSECCOMP_VERSION=2.5.4
|
||||
|
||||
|
@@ -24,7 +24,7 @@ A third party security audit was performed by Cure53, you can see the full repor
|
||||
|
||||
## Building
|
||||
|
||||
`runc` only supports Linux. It must be built with Go version 1.18 or higher.
|
||||
`runc` only supports Linux. It must be built with Go version 1.19 or higher.
|
||||
|
||||
In order to enable seccomp support you will need to install `libseccomp` on your platform.
|
||||
> e.g. `libseccomp-devel` for CentOS, or `libseccomp-dev` for Ubuntu
|
||||
|
Reference in New Issue
Block a user