Skip to content

Commit 25b8cec

Browse files
authored
Upgrade all modules to use go 1.19 (#3821)
1 parent c3e832e commit 25b8cec

File tree

30 files changed

+145
-53
lines changed

30 files changed

+145
-53
lines changed

.github/workflows/checkLicenses.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v3
24-
- name: Set up Go 1.18
24+
- name: Set up Go 1.19
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: 1.18
27+
go-version: 1.19
2828
- run: |
2929
./scripts/create-licenses.sh
3030
# Upload the licenses list so it's available if needed

.github/workflows/e2eEnvironment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: 1.18
37+
go-version: 1.19
3838
- uses: actions/checkout@v3
3939
# Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
4040
# If you upgrade this version confirm the changes match your expectations

.github/workflows/go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545
run: |
4646
which podman
4747
podman version
48-
- name: Set up Go 1.18
48+
- name: Set up Go 1.19
4949
uses: actions/setup-go@v3
5050
with:
51-
go-version: 1.18
51+
go-version: 1.19
5252
id: go
5353
- name: Check out code into the Go module directory
5454
uses: actions/checkout@v3
@@ -67,10 +67,10 @@ jobs:
6767
build-macos:
6868
runs-on: macos-latest
6969
steps:
70-
- name: Set up Go 1.18
70+
- name: Set up Go 1.19
7171
uses: actions/setup-go@v3
7272
with:
73-
go-version: 1.18
73+
go-version: 1.19
7474
id: go
7575
- name: Check out code into the Go module directory
7676
uses: actions/checkout@v3
@@ -85,10 +85,10 @@ jobs:
8585
# build-windows:
8686
# runs-on: windows-2019
8787
# steps:
88-
# - name: Set up Go 1.18
88+
# - name: Set up Go 1.19
8989
# uses: actions/setup-go@v1
9090
# with:
91-
# go-version: 1.18
91+
# go-version: 1.19
9292
# id: go
9393
# - name: Check out code into the Go module directory
9494
# uses: actions/checkout@v3

.github/workflows/live-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: 1.18
36+
go-version: 1.19
3737
- uses: actions/checkout@master
3838
# Pinned to Commit to ensure action is consistent: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
3939
# If you upgrade this version confirm the changes match your expectations

.github/workflows/porch-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
- "kindest/node:v1.23.4@sha256:0e34f0d0fd448aa2f2819cfd74e99fe5793a6e4938b328f657c8e3f81ee0dfb9"
5454

5555
steps:
56-
- name: Set up Go 1.18
56+
- name: Set up Go 1.19
5757
uses: actions/setup-go@v3
5858
with:
59-
go-version: 1.18
59+
go-version: 1.19
6060
- name: Checkout Porch
6161
uses: actions/checkout@v3
6262
- name: Build kpt

.github/workflows/porch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
name: Porch Unit Tests
3030
runs-on: ubuntu-latest
3131
steps:
32-
- name: Set up Go 1.18
32+
- name: Set up Go 1.19
3333
uses: actions/setup-go@v3
3434
with:
35-
go-version: 1.18
35+
go-version: 1.19
3636
- name: Run Porch Unit Tests
3737
uses: actions/checkout@v3
3838
- name: Verify format / headers etc

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v3
3030
with:
31-
go-version: 1.18
31+
go-version: 1.19
3232
- name: Checkout
3333
uses: actions/checkout@v3
3434
with:

.github/workflows/verifyContent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/setup-go@v3
3232
with:
33-
go-version: 1.18
33+
go-version: 1.19
3434
- uses: actions/checkout@v3
3535
- run: |
3636
make build

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
GOLANG_VERSION := 1.18.3
15+
GOLANG_VERSION := 1.19.6
1616
GORELEASER_CONFIG = release/tag/goreleaser.yaml
1717
GORELEASER_IMAGE := ghcr.io/goreleaser/goreleaser-cross:v$(GOLANG_VERSION)
1818

dogfood/sitev2/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/GoogleContainerTools/kpt/dogfood/sitev2
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/yuin/goldmark v1.4.12

0 commit comments

Comments
 (0)