chore(go): update to go 1.22 (#3708)

* chore(go): update to go 1.22

* fix: install go before running codeql to fix autobild

* chore(test): explicitly set base crosscompile image

* fix(test): do not point at image with incorrect version of Go
This commit is contained in:
Gabe Kangas
2024-04-22 13:23:52 -07:00
committed by GitHub
parent ac0204104d
commit 439da013d8
9 changed files with 44 additions and 39 deletions

View File

@@ -5,7 +5,7 @@ run:
# Define the Go version limit.
# Mainly related to generics support in go1.18.
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18
go: '1.21'
go: '1.22'
issues:
# The linter has a default list of ignorable errors. Turning this on will enable that list.
@@ -69,7 +69,7 @@ linters-settings:
gosimple:
# Select the Go version to target. The default is '1.13'.
go: '1.21'
go: '1.22'
# https://staticcheck.io/docs/options#checks
checks: ['all']