Add / switch to Go 1.18

Switch to Go 1.18 as the default Go version.

Support for Go 1.16 is removed by the next commit.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2022-03-15 15:49:14 -07:00
parent 7cec81e060
commit 5211cc3f7e
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ task:
env:
HOME: /root
CIRRUS_WORKING_DIR: /home/runc
GO_VERSION: "1.17.3"
GO_VERSION: "1.18"
BATS_VERSION: "v1.3.0"
# yamllint disable rule:key-duplicates
matrix:
+2 -2
View File
@@ -21,13 +21,13 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.16.x, 1.17.x, 1.18.0-beta1]
go-version: [1.16.x, 1.17.x, 1.18.x]
rootless: ["rootless", ""]
race: ["-race", ""]
criu: [""]
include:
# Also test against latest criu-dev
- go-version: 1.17.x
- go-version: 1.18.x
rootless: ""
race: ""
criu: "criu-dev"
+1 -1
View File
@@ -8,7 +8,7 @@ on:
- release-*
pull_request:
env:
GO_VERSION: 1.17.x
GO_VERSION: 1.18.x
jobs:
+1 -1
View File
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.17
ARG GO_VERSION=1.18
ARG BATS_VERSION=v1.3.0
ARG LIBSECCOMP_VERSION=2.5.3