Skip to content

Commit 454214e

Browse files
committed
tests: update setup-go to v5
1 parent 2b32d52 commit 454214e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Set up go
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v5
1616
with:
1717
go-version: '1.22'
1818
stable: true
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Set up go
36-
uses: actions/setup-go@v2
36+
uses: actions/setup-go@v5
3737
with:
3838
go-version: '1.22'
3939
stable: true
@@ -56,15 +56,15 @@ jobs:
5656
runs-on: [ubuntu-latest]
5757
steps:
5858
- uses: actions/checkout@v1
59-
- uses: actions/setup-go@v1
59+
- uses: actions/setup-go@v5
6060
with:
6161
go-version: '1.22'
6262
- name: Install latest version of Kind
6363
run: |
64-
go build -o /usr/local/bin/kind sigs.k8s.io/kind
64+
go get sigs.k8s.io/kind
6565
- name: Create Kind cluster
6666
run: |
67-
PATH=/usr/local/bin/:$PATH kind create cluster --config .github/workflows/kind-config.yaml
67+
kind create cluster --config .github/workflows/kind-config.yaml
6868
- name: Run some sanity checks
6969
# kubectl is already installed on the Github Ubuntu worker
7070
run: |

0 commit comments

Comments
 (0)