From e5a5522ab6909b82949293dfebf4c9e4b2a82fdd Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 28 Mar 2023 09:42:03 -0700 Subject: [PATCH] Add supported Go releases (1.19, 1.20) - Dockerfile: use latest Go version (1.20.x) for release binaries - .github/workflows: add Go 1.19.x, 1.20.x - .cirrus.yml: switch to latest Go 1.19.x Signed-off-by: Kir Kolyshkin --- .cirrus.yml | 2 +- .github/workflows/test.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 99bdbcf8f..5cd6f60f9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -68,7 +68,7 @@ task: env: HOME: /root CIRRUS_WORKING_DIR: /home/runc - GO_VERSION: "1.17.3" + GO_VERSION: "1.19.8" BATS_VERSION: "v1.3.0" RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs # yamllint disable rule:key-duplicates diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 243a7cd86..8dd73afab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,13 +21,13 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.17.x] + go-version: [1.17.x, 1.19.x, 1.20.x] rootless: ["rootless", ""] race: ["-race", ""] criu: [""] include: # Also test against latest criu-dev - - go-version: 1.17.x + - go-version: 1.20.x rootless: "" race: "" criu: "criu-dev" diff --git a/Dockerfile b/Dockerfile index 33f45f577..b5c333323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.17 +ARG GO_VERSION=1.20 ARG BATS_VERSION=v1.3.0 ARG LIBSECCOMP_VERSION=2.5.4