Update Go to v1.22.3

This commit is contained in:
Ciprian Hacman
2024-05-13 19:40:25 +03:00
parent 030599e642
commit 8c22b69431
4 changed files with 4 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.22.1'
go-version: '1.22.3'
- uses: actions/checkout@v4
- name: Update Dependencies
id: update_deps

View File

@@ -20,7 +20,7 @@ ARG BASEIMAGE
# Must override builder-base, not builder, since the latter is referred to later in the file and so must not be
# directly replaced. See here, and note that "stage" parameter mentioned there has been renamed to
# "build-context": https://github.com/docker/buildx/pull/904#issuecomment-1005871838
FROM golang:1.22.2-bookworm as builder-base
FROM golang:1.22.3-bookworm as builder-base
FROM builder-base as builder
LABEL maintainer="Andy Xie <andy.xning@gmail.com>"

4
go.mod
View File

@@ -1,8 +1,6 @@
module k8s.io/node-problem-detector
go 1.22.0
toolchain go1.22.1
go 1.22.3
require (
cloud.google.com/go/compute/metadata v0.3.0

View File

@@ -1,8 +1,6 @@
module k8s.io/node-problem-detector/test
go 1.22.0
toolchain go1.22.1
go 1.22.3
replace k8s.io/node-problem-detector => ../.