Skip to content

Commit 5b28d3a

Browse files
committed
Switch to go1.22, add go1.23 to CI
This is done in preparation to runc/libcontainer vendor bump Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent d019565 commit 5b28d3a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-versions: ['1.22', '1.21']
7+
go-versions: ['1.23', '1.22']
88
platform: [ubuntu-22.04]
99
environment-variables: [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
1010
runs-on: ${{ matrix.platform }}
@@ -31,7 +31,7 @@ jobs:
3131
test-integration:
3232
strategy:
3333
matrix:
34-
go-versions: ['1.22', '1.21']
34+
go-versions: ['1.23', '1.22']
3535
platform: [ubuntu-22.04]
3636
environment-variables: [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
3737
runs-on: ${{ matrix.platform }}

build/integration-in-docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ GO_FLAGS=${GO_FLAGS:-"-tags=netgo -race"}
6969
PACKAGES=${PACKAGES:-"sudo"}
7070
BUILD_PACKAGES=${BUILD_PACKAGES:-}
7171
CADVISOR_ARGS=${CADVISOR_ARGS:-}
72-
GOLANG_VERSION=${GOLANG_VERSION:-"1.22"}
72+
GOLANG_VERSION=${GOLANG_VERSION:-"1.23"}
7373
run_tests

cmd/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/cadvisor/cmd
22

3-
go 1.21
3+
go 1.22.0
44

55
// Record that the cmd module requires the cadvisor library module.
66
// The github.com/google/cadvisor/cmd module is built using the Makefile

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/google/cadvisor
22

3-
go 1.21
3+
go 1.22.0
44

55
require (
66
cloud.google.com/go/compute/metadata v0.2.3

0 commit comments

Comments
 (0)