Skip to content

Commit b98ef32

Browse files
committed
actions: Remove cache action for Go
The caching is builtin to the setup-go action since 5.0.0 Signed-off-by: Marco Franssen <[email protected]>
1 parent a13d159 commit b98ef32

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

.github/workflows/build-fb-image.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ jobs:
175175
go-version-file: go.mod
176176
cache-dependency-path: go.sum
177177

178-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
179-
with:
180-
path: ~/go/pkg/mod
181-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
182-
183178
- name: Login to GitHub Container Registry
184179
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
185180
with:

.github/workflows/main.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ jobs:
5454
go-version-file: go.mod
5555
cache-dependency-path: go.sum
5656

57-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
58-
with:
59-
path: ~/go/pkg/mod
60-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
61-
6257
- name: Go mod
6358
run: |
6459
export PATH=$PATH:$(go env GOPATH)/bin
@@ -93,11 +88,6 @@ jobs:
9388
go-version-file: go.mod
9489
cache-dependency-path: go.sum
9590

96-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
97-
with:
98-
path: ~/go/pkg/mod
99-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
100-
10191
- name: Install dependences
10292
run: |
10393
command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@latest
@@ -125,11 +115,6 @@ jobs:
125115
go-version-file: go.mod
126116
cache-dependency-path: go.sum
127117

128-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
129-
with:
130-
path: ~/go/pkg/mod
131-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
132-
133118
- name: Install dependences
134119
run: |
135120
command -v ginkgo || go install github.com/onsi/ginkgo/ginkgo@latest
@@ -160,11 +145,6 @@ jobs:
160145
go-version-file: go.mod
161146
cache-dependency-path: go.sum
162147

163-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
164-
with:
165-
path: ~/go/pkg/mod
166-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
167-
168148
- name: Run build all binaries
169149
run: make binary
170150

@@ -184,10 +164,5 @@ jobs:
184164
# go-version-file: go.mod
185165
# cache-dependency-path: go.sum
186166

187-
# - uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
188-
# with:
189-
# path: ~/go/pkg/mod
190-
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
191-
192167
# - name: Run docker build
193168
# run: make build-amd64

0 commit comments

Comments
 (0)