Skip to content

Commit c2236c3

Browse files
authored
Merge pull request #2922 from oscr/upgrade-go1.19
✨ add support to go 1.19
2 parents c7d38ce + 9186b74 commit c2236c3

File tree

70 files changed

+100
-130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+100
-130
lines changed

.github/workflows/apidiff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Go
3838
uses: actions/setup-go@v3
3939
with:
40-
go-version: "1.18"
40+
go-version: "1.19"
4141
- name: Execute go-apidiff
4242
uses: joelanford/[email protected]
4343
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: 1.18
36+
go-version: 1.19
3737
- name: Clone the code
3838
uses: actions/checkout@v3
3939
- name: Run linter

.github/workflows/testdata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: '1.18'
21+
go-version: '1.19'
2222
- name: Remove pre-installed kustomize
2323
# This step is needed as the following one tries to remove
2424
# kustomize for each test but has no permission to do so

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup Go
4141
uses: actions/setup-go@v3
4242
with:
43-
go-version: "1.18"
43+
go-version: "1.19"
4444
# This step is needed as the following one tries to remove
4545
# kustomize for each test but has no permission to do so
4646
- name: Remove pre-installed kustomize
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Go
7272
uses: actions/setup-go@v3
7373
with:
74-
go-version: "1.18"
74+
go-version: "1.19"
7575
- name: Generate the coverage output
7676
run: make test-coverage
7777
- name: Send the coverage output

build/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ steps:
3838
git checkout $${BRANCH_NAME}
3939
git branch --set-upstream-to=origin/$${BRANCH_NAME}
4040
git tag -d ${TAG_NAME}
41-
- name: "goreleaser/goreleaser:v1.9.2"
41+
- name: "goreleaser/goreleaser:v1.11.2"
4242
entrypoint: "bash"
4343
args: ["build/build_kubebuilder.sh"]
4444
env:

build/cloudbuild_local.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Release tar will be in ./cloudbuild
2020

2121
steps:
22-
- name: "goreleaser/goreleaser:v1.9.2"
22+
- name: "goreleaser/goreleaser:v1.11.2"
2323
entrypoint: "bash"
2424
env: ["SNAPSHOT=1"]
2525
args: ["build/build_kubebuilder.sh"]

build/cloudbuild_snapshot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Release tar will be in ./cloudbuild
2020

2121
steps:
22-
- name: "goreleaser/goreleaser:v1.9.2"
22+
- name: "goreleaser/goreleaser:v1.11.2"
2323
entrypoint: "bash"
2424
env: ["SNAPSHOT=1"]
2525
args: ["build/build_kubebuilder.sh"]

docs/book/src/component-config-tutorial/testdata/project/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.18 as builder
2+
FROM golang:1.19 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

docs/book/src/component-config-tutorial/testdata/project/go.mod

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

3-
go 1.18
3+
go 1.19
44

55
require (
66
k8s.io/apimachinery v0.24.0

docs/book/src/cronjob-tutorial/testdata/project/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.18 as builder
2+
FROM golang:1.19 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

0 commit comments

Comments
 (0)