Skip to content

Commit a7c439a

Browse files
authored
update to go 1.18 (#2059)
Signed-off-by: Asra Ali <[email protected]> update Signed-off-by: Asra Ali <[email protected]> also update Signed-off-by: Asra Ali <[email protected]>
1 parent dad7d3f commit a7c439a

File tree

16 files changed

+61
-299
lines changed

16 files changed

+61
-299
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939

4040
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
4141
with:
42-
go-version: '1.17'
42+
go-version: '1.18'
4343
check-latest: true
4444

4545
# will use the latest release available for ko
4646
- uses: imjasonh/setup-ko@2c3450ca27f6e6f2b02e72a40f2163c281a1f675 # v0.4
4747

48-
- uses: chainguard-dev/actions/goimports@84c993eaf02da1c325854fb272a4df9184bd80fc # main
48+
- uses: chainguard-dev/actions/goimports@a646d5892c5f820e2041a3f7ed8115bb4418f751 # main
4949

5050
- name: Set up Cloud SDK
5151
uses: google-github-actions/auth@ceee102ec2387dd9e844e01b530ccd4ec87ce955 # v0.8.0

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Set correct version of Golang to use during CodeQL run
5555
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.1.5
5656
with:
57-
go-version: '1.17'
57+
go-version: '1.18'
5858
check-latest: true
5959

6060
# Initializes the CodeQL tools for scanning.

.github/workflows/cross.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install Go
3232
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
3333
with:
34-
go-version: '1.17'
34+
go-version: '1.18'
3535
check-latest: true
3636
- name: Checkout code
3737
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0

.github/workflows/e2e-with-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
4242
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
4343
with:
44-
go-version: '1.17'
44+
go-version: '1.18'
4545
check-latest: true
4646
- name: build cosign and check
4747
shell: bash

.github/workflows/e2e_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
3535
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
3636
with:
37-
go-version: '1.17'
37+
go-version: '1.18'
3838
check-latest: true
3939
- name: Set up Cloud SDK
4040
uses: google-github-actions/setup-gcloud@877d4953d2c70a0ba7ef3290ae968eb24af233bb # v0.5.1

.github/workflows/github-oidc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
3939
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
4040
with:
41-
go-version: '1.17'
41+
go-version: '1.18'
4242
check-latest: true
4343
cache: true
4444

.github/workflows/kind-verify-attestation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
5555
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
5656
with:
57-
go-version: '1.17'
57+
go-version: '1.18'
5858
check-latest: true
5959

6060
# will use the latest release available for ko

.github/workflows/style.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
1717
with:
18-
go-version: '1.17'
18+
go-version: '1.18'
1919
check-latest: true
2020

2121
- name: Check out code
@@ -33,10 +33,10 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923 # v2.2.0
3535
with:
36-
go-version: '1.17'
36+
go-version: '1.18'
3737
check-latest: true
3838

3939
- name: Check out code
4040
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v2.4.0
4141

42-
- uses: chainguard-dev/actions/goimports@84c993eaf02da1c325854fb272a4df9184bd80fc # main
42+
- uses: chainguard-dev/actions/goimports@a646d5892c5f820e2041a3f7ed8115bb4418f751 # main

.github/workflows/validate-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
statuses: none
4040

4141
env:
42-
CROSS_BUILDER_IMAGE: ghcr.io/gythialy/golang-cross:v1.17.11-0@sha256:b0c3083b0a420ff649d5a5bfd7e0a96719ab0a7b3f99a049a4950d836a72637a
42+
CROSS_BUILDER_IMAGE: ghcr.io/gythialy/golang-cross:v1.18.3-0@sha256:d4614e3a12fd43b1ef29252d1add330c0b496b5313eda37975d4a87815a6ae90
4343
COSIGN_IMAGE: gcr.io/projectsigstore/cosign:v1.9.0@sha256:ef2d14e16dbb7786d8713e4898a8512e69ace4105f5b371a9c115ffcc3e85d84
4444

4545
steps:

.github/workflows/verify-codegen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/setup-go@b22fbbc2921299758641fab08929b4ac52b32923
3636
with:
37-
go-version: '1.17'
37+
go-version: '1.18'
3838
check-latest: true
3939

4040
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

0 commit comments

Comments
 (0)