Skip to content

Commit 6ca223a

Browse files
authored
Bump setup-go to v4 and remove explicit go cache (#1583)
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 2eb9f48 commit 6ca223a

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

.github/workflows/changelog.yaml

+1-9
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,9 @@ jobs:
3131
with:
3232
fetch-depth: 0
3333
- name: Setup Go
34-
uses: actions/setup-go@v3
34+
uses: actions/setup-go@v4
3535
with:
3636
go-version: "1.20"
37-
- name: Cache Go
38-
id: go-cache
39-
uses: actions/cache@v3
40-
with:
41-
path: |
42-
~/go/bin
43-
~/go/pkg/mod
44-
key: changelog-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
4537

4638
- name: Ensure no changes to the CHANGELOG
4739
run: |

.github/workflows/continuous-integration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
workdir: [".", "./cmd/otel-allocator", "./cmd/operator-opamp-bridge"]
3131
steps:
3232
- name: Set up Go
33-
uses: actions/setup-go@v3
33+
uses: actions/setup-go@v4
3434
with:
3535
go-version: "1.20"
3636
- name: Check out code into the Go module directory

.github/workflows/e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v3
25+
uses: actions/setup-go@v4
2626
with:
2727
go-version: "1.20"
2828

.github/workflows/scorecard.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020

2121
- name: Set up Go
22-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v4
2323
with:
2424
go-version: "1.20"
2525

0 commit comments

Comments
 (0)