Skip to content

Commit 0e29d19

Browse files
committed
k8s 1.28 version update and go 1.20
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent 44b1863 commit 0e29d19

File tree

6 files changed

+123
-116
lines changed

6 files changed

+123
-116
lines changed

Diff for: .github/workflows/go.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
name: Build
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Check out code into the Go module directory
16+
uses: actions/checkout@v3
1517
- name: Set up Go
16-
uses: actions/setup-go@v3
18+
uses: actions/setup-go@v4
1719
with:
18-
go-version: 1.19
20+
go-version-file: go.mod
1921
id: go
20-
- name: Check out code into the Go module directory
21-
uses: actions/checkout@v2
2222
- name: Cache dependencies
2323
uses: actions/cache@v2
2424
with:
@@ -41,9 +41,9 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Set up Go
44-
uses: actions/setup-go@v3
44+
uses: actions/setup-go@v4
4545
with:
46-
go-version: 1.19
46+
go-version-file: go.mod
4747
id: go
4848
- name: Print out Go env
4949
run: go env

Diff for: .github/workflows/verify.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
verify:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- uses: actions/setup-go@v3
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-go@v4
1616
with:
17-
go-version: '~1.19'
17+
go-version-file: go.mod
1818
- name: Run the verify target
1919
run: |
2020
export GOPATH=$(go env GOPATH)

0 commit comments

Comments
 (0)