Skip to content

Commit 1123917

Browse files
committed
Build with go 1.19
Signed-off-by: Manuel Rüger <[email protected]>
1 parent a345efe commit 1123917

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
E2E_SETUP_KIND: yes
2121
E2E_SETUP_KUBECTL: yes
2222
SUDO: sudo
23-
GO_VERSION: "^1.18"
23+
GO_VERSION: "^1.19"
2424
GOLANGCI_LINT_VERSION: "v1.48.0"
2525

2626
jobs:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GOVERSION=1.18
1+
ARG GOVERSION=1.19
22
ARG GOARCH
33
FROM golang:${GOVERSION} as builder
44
ARG GOARCH

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ OS ?= $(shell uname -s | tr A-Z a-z)
1616
ALL_ARCH = amd64 arm arm64 ppc64le s390x
1717
PKG = github.com/prometheus/common
1818
PROMETHEUS_VERSION = 2.37.0
19-
GO_VERSION = 1.18.5
19+
GO_VERSION = 1.19.2
2020
IMAGE = $(REGISTRY)/kube-state-metrics
2121
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
2222
USER ?= $(shell id -u -n)

pkg/util/proc/reaper_unsupported.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !linux
12
// +build !linux
23

34
/*

tools/tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build tools
12
// +build tools
23

34
/*

0 commit comments

Comments
 (0)