Bump golang to 1.20

This commit is contained in:
Ole Markus With 2023-04-16 07:48:26 +02:00
parent 5ee0307f94
commit a57f754c63
7 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@ jobs:
- name: Set up go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.19.7'
go-version: '1.20.3'
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
@ -36,7 +36,7 @@ jobs:
- name: Set up go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.19.7'
go-version: '1.20.3'
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
@ -53,7 +53,7 @@ jobs:
- name: Set up go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.19.7'
go-version: '1.20.3'
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
@ -70,7 +70,7 @@ jobs:
- name: Set up go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.19.7'
go-version: '1.20.3'
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:

View File

@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.19.7'
go-version: '1.20.3'
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- name: Update Dependencies
id: update_deps

View File

@ -22,7 +22,7 @@ linters:
linters-settings: # please keep this alphabetized
staticcheck:
go: "1.19"
go: "1.20"
checks: [
"all",
"-ST1000", # Incorrect or missing package comment

View File

@ -5,7 +5,7 @@ options:
machineType: 'N1_HIGHCPU_8'
steps:
# Push the images
- name: 'docker.io/library/golang:1.19.7-bullseye'
- name: 'docker.io/library/golang:1.20.3-bullseye'
id: images
entrypoint: make
env:
@ -20,7 +20,7 @@ steps:
- dns-controller-push
- kube-apiserver-healthcheck-push
# Push the artifacts
- name: 'docker.io/library/golang:1.19.7-bullseye'
- name: 'docker.io/library/golang:1.20.3-bullseye'
id: artifacts
entrypoint: make
env:
@ -35,7 +35,7 @@ steps:
args:
- gcs-upload-and-tag
# Build cloudbuild artifacts (for attestation)
- name: 'docker.io/library/golang:1.19.7-bullseye'
- name: 'docker.io/library/golang:1.20.3-bullseye'
id: cloudbuild-artifacts
entrypoint: make
env:

2
go.mod
View File

@ -1,6 +1,6 @@
module k8s.io/kops
go 1.19
go 1.20
replace (
github.com/docker/cli => github.com/docker/cli v20.10.21+incompatible

View File

@ -1,6 +1,6 @@
module k8s.io/kops/hack
go 1.19
go 1.20
require (
github.com/client9/misspell v0.3.4

View File

@ -1,6 +1,6 @@
module k8s.io/kops/tests/e2e
go 1.19
go 1.20
replace k8s.io/kops => ../../.