Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 43f5f2d

Browse files
committed
Signed-off-by: Chris Privitere <[email protected]>
ci: remove custom setup-go action Since newer versions of setup-go cache by default we can use the official action instead of our custom one Addtionally we were getting tar errors from our setup-go action
1 parent b07508b commit 43f5f2d

File tree

5 files changed

+12
-44
lines changed

5 files changed

+12
-44
lines changed

.github/actions/setup-go/action.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
fetch-depth: 0
31-
- uses: ./.github/actions/setup-go
31+
- uses: actions/setup-go@v4
3232
- uses: actions/cache@v3
3333
with:
3434
path: hack/tools/bin
@@ -55,7 +55,7 @@ jobs:
5555
steps:
5656
- name: checkout
5757
uses: actions/checkout@v3
58-
- uses: ./.github/actions/setup-go
58+
- uses: actions/setup-go@v4
5959
- name: Set up QEMU
6060
uses: docker/setup-qemu-action@v2
6161
- name: Set up Docker Buildx
@@ -115,7 +115,7 @@ jobs:
115115
steps:
116116
- name: checkout
117117
uses: actions/checkout@v3
118-
- uses: ./.github/actions/setup-go
118+
- uses: actions/setup-go@v4
119119
- uses: actions/cache@v3
120120
with:
121121
path: hack/tools/bin
@@ -153,7 +153,7 @@ jobs:
153153
steps:
154154
- name: checkout
155155
uses: actions/checkout@v3
156-
- uses: ./.github/actions/setup-go
156+
- uses: actions/setup-go@v4
157157
- uses: actions/cache@v3
158158
with:
159159
path: hack/tools/bin
@@ -209,7 +209,7 @@ jobs:
209209
steps:
210210
- name: checkout
211211
uses: actions/checkout@v3
212-
- uses: ./.github/actions/setup-go
212+
- uses: actions/setup-go@v4
213213
- uses: actions/cache@v3
214214
with:
215215
path: hack/tools/bin
@@ -265,7 +265,7 @@ jobs:
265265
steps:
266266
- name: checkout
267267
uses: actions/checkout@v3
268-
- uses: ./.github/actions/setup-go
268+
- uses: actions/setup-go@v4
269269
- uses: actions/cache@v3
270270
with:
271271
path: hack/tools/bin
@@ -321,7 +321,7 @@ jobs:
321321
steps:
322322
- name: checkout
323323
uses: actions/checkout@v3
324-
- uses: ./.github/actions/setup-go
324+
- uses: actions/setup-go@v4
325325
- uses: actions/cache@v3
326326
with:
327327
path: hack/tools/bin
@@ -377,7 +377,7 @@ jobs:
377377
steps:
378378
- name: checkout
379379
uses: actions/checkout@v3
380-
- uses: ./.github/actions/setup-go
380+
- uses: actions/setup-go@v4
381381
- uses: actions/cache@v3
382382
with:
383383
path: hack/tools/bin

.github/workflows/cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- name: checkout
1111
uses: actions/checkout@v3
12-
- uses: ./.github/actions/setup-go
12+
- uses: actions/setup-go@v4
1313
- name: Run the cleanup tool
1414
run: go run ./cmd/ci-clean
1515
env:

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18-
- uses: ./.github/actions/setup-go
18+
- uses: actions/setup-go@v4
1919
- uses: actions/cache@v3
2020
with:
2121
path: hack/tools/bin

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v3
2222
with:
2323
fetch-depth: 0
24-
- uses: ./.github/actions/setup-go
24+
- uses: actions/setup-go@v4
2525
- name: Set up QEMU
2626
uses: docker/setup-qemu-action@v2
2727
- name: Set up Docker Buildx
@@ -90,7 +90,7 @@ jobs:
9090
steps:
9191
- name: Checkout code
9292
uses: actions/checkout@v3
93-
- uses: ./.github/actions/setup-go
93+
- uses: actions/setup-go@v4
9494
- uses: actions/cache@v3
9595
with:
9696
path: hack/tools/bin

0 commit comments

Comments
 (0)