mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-27 20:02:22 +08:00
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:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, ubuntu-24.04, actuated-arm64-6cpu-8gb]
|
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", ""]
|
rootless: ["rootless", ""]
|
||||||
race: ["-race", ""]
|
race: ["-race", ""]
|
||||||
criu: ["", "criu-dev"]
|
criu: ["", "criu-dev"]
|
||||||
|
4
.github/workflows/validate.yml
vendored
4
.github/workflows/validate.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
- release-*
|
- release-*
|
||||||
pull_request:
|
pull_request:
|
||||||
env:
|
env:
|
||||||
GO_VERSION: 1.23.x
|
GO_VERSION: 1.24
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
sudo apt -qy install libseccomp-dev
|
sudo apt -qy install libseccomp-dev
|
||||||
- uses: golangci/golangci-lint-action@v6
|
- uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
version: v1.62
|
version: v1.64
|
||||||
# Extra linters, only checking new code from a pull request.
|
# Extra linters, only checking new code from a pull request.
|
||||||
- name: lint-extra
|
- name: lint-extra
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
Reference in New Issue
Block a user