CI: add Go 1.24, drop go1.22

Also, bump golangci-lint to v1.64 (v1.64.2 added Go 1.24 support).

NOTE we still use Go 1.23.x for official builds.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-01-20 16:51:04 -08:00
parent 3cfcb6968a
commit 874207492e
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-24.04, actuated-arm64-6cpu-8gb]
go-version: [1.22.x, 1.23.x]
go-version: [1.23.x, 1.24.x]
rootless: ["rootless", ""]
race: ["-race", ""]
criu: ["", "criu-dev"]

View File

@@ -8,7 +8,7 @@ on:
- release-*
pull_request:
env:
GO_VERSION: 1.23.x
GO_VERSION: 1.24
permissions:
contents: read
@@ -40,7 +40,7 @@ jobs:
sudo apt -qy install libseccomp-dev
- uses: golangci/golangci-lint-action@v6
with:
version: v1.62
version: v1.64
# Extra linters, only checking new code from a pull request.
- name: lint-extra
if: github.event_name == 'pull_request'