Skip to content

Commit a57f754

Browse files
committed
Bump golang to 1.20
1 parent 5ee0307 commit a57f754

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up go
2020
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
2121
with:
22-
go-version: '1.19.7'
22+
go-version: '1.20.3'
2323

2424
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
2525
with:
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up go
3737
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
3838
with:
39-
go-version: '1.19.7'
39+
go-version: '1.20.3'
4040

4141
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
4242
with:
@@ -53,7 +53,7 @@ jobs:
5353
- name: Set up go
5454
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
5555
with:
56-
go-version: '1.19.7'
56+
go-version: '1.20.3'
5757

5858
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
5959
with:
@@ -70,7 +70,7 @@ jobs:
7070
- name: Set up go
7171
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
7272
with:
73-
go-version: '1.19.7'
73+
go-version: '1.20.3'
7474

7575
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
7676
with:

.github/workflows/update-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
2121
with:
22-
go-version: '1.19.7'
22+
go-version: '1.20.3'
2323
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
2424
- name: Update Dependencies
2525
id: update_deps

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ linters:
2222

2323
linters-settings: # please keep this alphabetized
2424
staticcheck:
25-
go: "1.19"
25+
go: "1.20"
2626
checks: [
2727
"all",
2828
"-ST1000", # Incorrect or missing package comment

cloudbuild.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ options:
55
machineType: 'N1_HIGHCPU_8'
66
steps:
77
# Push the images
8-
- name: 'docker.io/library/golang:1.19.7-bullseye'
8+
- name: 'docker.io/library/golang:1.20.3-bullseye'
99
id: images
1010
entrypoint: make
1111
env:
@@ -20,7 +20,7 @@ steps:
2020
- dns-controller-push
2121
- kube-apiserver-healthcheck-push
2222
# Push the artifacts
23-
- name: 'docker.io/library/golang:1.19.7-bullseye'
23+
- name: 'docker.io/library/golang:1.20.3-bullseye'
2424
id: artifacts
2525
entrypoint: make
2626
env:
@@ -35,7 +35,7 @@ steps:
3535
args:
3636
- gcs-upload-and-tag
3737
# Build cloudbuild artifacts (for attestation)
38-
- name: 'docker.io/library/golang:1.19.7-bullseye'
38+
- name: 'docker.io/library/golang:1.20.3-bullseye'
3939
id: cloudbuild-artifacts
4040
entrypoint: make
4141
env:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module k8s.io/kops
22

3-
go 1.19
3+
go 1.20
44

55
replace (
66
github.com/docker/cli => github.com/docker/cli v20.10.21+incompatible

hack/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module k8s.io/kops/hack
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/client9/misspell v0.3.4

tests/e2e/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module k8s.io/kops/tests/e2e
22

3-
go 1.19
3+
go 1.20
44

55
replace k8s.io/kops => ../../.
66

0 commit comments

Comments
 (0)