Skip to content

Commit

Permalink
Merge pull request #289 from klihub/devel/bump-golang-version
Browse files Browse the repository at this point in the history
go.mod,build,.github,dockerfiles: bump golang version to 1.22
  • Loading branch information
marquiz authored Mar 15, 2024
2 parents 3831b1d + 10ebdc3 commit 4d545c9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/project-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- "release-*"

env:
GO_VERSION: "1.21.5"
GO_VERSION: "1.22.1"

jobs:
verify:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cmd/config-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/balloons/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/memory-qos/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/sgx-epc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/template/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion cmd/plugins/topology-aware/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.20
ARG GO_VERSION=1.22

FROM golang:${GO_VERSION}-bullseye as builder

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4d545c9

Please sign in to comment.