build: Update golang version to 1.22.2

As we have an issue with a golang version for `run-cri-containerd`,
it is required to bump the language.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
Hyounggyu Choi 2024-04-26 11:36:09 +02:00
parent b42ddaf15f
commit 80cb4a6c18
4 changed files with 10 additions and 9 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19.3
go-version: 1.22.2
- name: Checkout code
uses: actions/checkout@v4
- name: Build utils

View File

@ -14,7 +14,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19.3
go-version: 1.22.2
env:
GOPATH: ${{ runner.workspace }}/kata-containers
- name: Set env

View File

@ -5,10 +5,11 @@
run:
concurrency: 4
deadline: 600s
skip-dirs:
issues:
exclude-dirs:
- vendor
# Ignore auto-generated protobuf code.
skip-files:
exclude-files:
- ".*\\.pb\\.go$"
linters:

View File

@ -381,12 +381,12 @@ languages:
golang:
description: "Google's 'go' language"
notes: "'version' is the default minimum version used by this project."
version: "1.19.3"
version: "1.22.2"
meta:
description: |
'newest-version' is the latest version known to work when
building Kata
newest-version: "1.19.3"
newest-version: "1.22.2"
rust:
description: "Rust language"
@ -402,12 +402,12 @@ languages:
description: "golangci-lint"
notes: "'version' is the default minimum version used by this project."
url: "github.com/golangci/golangci-lint"
version: "1.50.1"
version: "1.57.2"
meta:
description: |
'newest-version' is the latest version known to work when
building Kata
newest-version: "1.50.1"
newest-version: "1.57.2"
specs:
description: "Details of important specifications"