Go 1.21.0

https://go.dev/doc/go1.21

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2023-08-11 23:16:54 +09:00
parent 5756cb00e7
commit eacd74c2b0
14 changed files with 16 additions and 18 deletions

View File

@@ -43,7 +43,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20.7"
go-version: "1.21.0"
- uses: actions/checkout@v3
with:

View File

@@ -9,7 +9,7 @@ on:
env:
# Go version we currently use to build containerd across all CI.
# Note: don't forget to update `Binaries` step, as it contains the matrix of all supported Go versions.
GO_VERSION: "1.20.7"
GO_VERSION: "1.21.0"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
@@ -209,7 +209,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2019, windows-2022]
go-version: ["1.20.7", "1.19.12"]
go-version: ["1.20.7", "1.21.0"]
steps:
- uses: actions/setup-go@v4
with:

View File

@@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.7
go-version: 1.21.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@@ -58,8 +58,6 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
# FIXME: go-fuzz fails with Go 1.20: `cgo_unix_cgo_res.cgo2.c:(.text+0x32): undefined reference to `__res_search'`
# https://github.com/containerd/containerd/pull/8103#issuecomment-1429256152
go-version: 1.18
go-version: 1.21.x
- uses: actions/checkout@v3
- run: script/go-test-fuzz.sh

View File

@@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20.7"
go-version: "1.21.0"
- uses: actions/checkout@v3
with:

View File

@@ -7,7 +7,7 @@ on:
- ".github/workflows/nightly.yml"
env:
GO_VERSION: "1.20.7"
GO_VERSION: "1.21.0"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read

View File

@@ -13,7 +13,7 @@ on:
name: Release
env:
GO_VERSION: "1.20.7"
GO_VERSION: "1.21.0"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read