diff --git a/.github/workflows/project-checks.yaml b/.github/workflows/project-checks.yaml index 0b3fa0c45..659bbd1b1 100644 --- a/.github/workflows/project-checks.yaml +++ b/.github/workflows/project-checks.yaml @@ -12,7 +12,7 @@ on: - "release-*" env: - GO_VERSION: "1.21.5" + GO_VERSION: "1.22.1" jobs: verify: diff --git a/Makefile b/Makefile index 03e0c5895..b06f1ad7f 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ GO_LINT := golint -set_exit_status GO_FMT := gofmt GO_VET := $(GO_CMD) vet GO_DEPS := $(GO_CMD) list -f '{{ join .Deps "\n" }}' -GO_VERSION ?= 1.21.5 +GO_VERSION ?= 1.22.1 GO_MODULES := $(shell $(GO_CMD) list ./...) GO_SUBPKGS := $(shell find ./pkg -name go.mod | sed 's:/go.mod::g' | grep -v testdata) diff --git a/cmd/config-manager/Dockerfile b/cmd/config-manager/Dockerfile index 2eddbed76..9b8bf4155 100644 --- a/cmd/config-manager/Dockerfile +++ b/cmd/config-manager/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as build WORKDIR /go/builder diff --git a/cmd/plugins/balloons/Dockerfile b/cmd/plugins/balloons/Dockerfile index 3c5402574..6b75d9909 100644 --- a/cmd/plugins/balloons/Dockerfile +++ b/cmd/plugins/balloons/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/memory-qos/Dockerfile b/cmd/plugins/memory-qos/Dockerfile index 32c0b72ca..e7983cb62 100644 --- a/cmd/plugins/memory-qos/Dockerfile +++ b/cmd/plugins/memory-qos/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/sgx-epc/Dockerfile b/cmd/plugins/sgx-epc/Dockerfile index 970d82acd..ae6583975 100644 --- a/cmd/plugins/sgx-epc/Dockerfile +++ b/cmd/plugins/sgx-epc/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/template/Dockerfile b/cmd/plugins/template/Dockerfile index 6b99ed05c..c86c48c96 100644 --- a/cmd/plugins/template/Dockerfile +++ b/cmd/plugins/template/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/cmd/plugins/topology-aware/Dockerfile b/cmd/plugins/topology-aware/Dockerfile index 89bee096e..00c6d1f92 100644 --- a/cmd/plugins/topology-aware/Dockerfile +++ b/cmd/plugins/topology-aware/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-bullseye as builder diff --git a/go.mod b/go.mod index cde695b82..1065dfc2f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/containers/nri-plugins -go 1.21 +go 1.22 require ( contrib.go.opencensus.io/exporter/prometheus v0.4.2