Skip to content

Commit 82a46e7

Browse files
committed
tests: update setup-go to v5
1 parent 789d99c commit 82a46e7

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
@@ -57,15 +57,15 @@ jobs:
5757
runs-on: [ubuntu-latest]
5858
steps:
5959
- uses: actions/checkout@v1
60-
- uses: actions/setup-go@v1
60+
- uses: actions/setup-go@v5
6161
with:
6262
go-version: '1.22'
6363
- name: Install latest version of Kind
6464
run: |
65-
go build -o /usr/local/bin/kind sigs.k8s.io/kind
65+
go get sigs.k8s.io/kind
6666
- name: Create Kind cluster
6767
run: |
68-
PATH=/usr/local/bin/:$PATH kind create cluster --config .github/workflows/kind-config.yaml
68+
kind create cluster --config .github/workflows/kind-config.yaml
6969
- name: Run some sanity checks
7070
# kubectl is already installed on the Github Ubuntu worker
7171
run: |

0 commit comments

Comments
 (0)