Skip to content

Commit f76582f

Browse files
committed
ci: fix actions/setup-go@v5 warnings
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
1 parent 837a638 commit f76582f

File tree

2 files changed

+35
-7
lines changed

2 files changed

+35
-7
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ jobs:
2727
uses: actions/setup-go@v5
2828
with:
2929
go-version-file: 'go-controller/go.mod'
30-
cache-dependency-path: "**/*.sum"
30+
# Disabling cache to avoid warnings until these two issues are fixed
31+
# https://github.com/actions/setup-go/issues/424
32+
# https://github.com/actions/setup-go/issues/403
33+
# cache-dependency-path: "**/*.sum"
34+
cache: false
3135
id: go
3236

3337
- name: Log in to the GH Container registry

.github/workflows/test.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ jobs:
4747
uses: actions/setup-go@v5
4848
with:
4949
go-version-file: 'go-controller/go.mod'
50-
cache-dependency-path: "**/*.sum"
50+
# Disabling cache to avoid warnings until these two issues are fixed
51+
# https://github.com/actions/setup-go/issues/424
52+
# https://github.com/actions/setup-go/issues/403
53+
# cache-dependency-path: "**/*.sum"
54+
cache: false
5155
id: go
5256

5357
- name: Verify
@@ -103,7 +107,11 @@ jobs:
103107
uses: actions/setup-go@v5
104108
with:
105109
go-version-file: 'go-controller/go.mod'
106-
cache-dependency-path: "**/*.sum"
110+
# Disabling cache to avoid warnings until these two issues are fixed
111+
# https://github.com/actions/setup-go/issues/424
112+
# https://github.com/actions/setup-go/issues/403
113+
# cache-dependency-path: "**/*.sum"
114+
cache: false
107115
id: go
108116

109117
- name: Build - from master branch
@@ -181,7 +189,11 @@ jobs:
181189
uses: actions/setup-go@v5
182190
with:
183191
go-version-file: 'go-controller/go.mod'
184-
cache-dependency-path: "**/*.sum"
192+
# Disabling cache to avoid warnings until these two issues are fixed
193+
# https://github.com/actions/setup-go/issues/424
194+
# https://github.com/actions/setup-go/issues/403
195+
# cache-dependency-path: "**/*.sum"
196+
cache: false
185197
id: go
186198

187199
- name: Install VRF kernel module
@@ -285,7 +297,11 @@ jobs:
285297
uses: actions/setup-go@v5
286298
with:
287299
go-version-file: 'go-controller/go.mod'
288-
cache-dependency-path: "**/*.sum"
300+
# Disabling cache to avoid warnings until these two issues are fixed
301+
# https://github.com/actions/setup-go/issues/424
302+
# https://github.com/actions/setup-go/issues/403
303+
# cache-dependency-path: "**/*.sum"
304+
cache: false
289305
id: go
290306

291307
- name: Set up environment
@@ -520,7 +536,11 @@ jobs:
520536
uses: actions/setup-go@v5
521537
with:
522538
go-version-file: 'go-controller/go.mod'
523-
cache-dependency-path: "**/*.sum"
539+
# Disabling cache to avoid warnings until these two issues are fixed
540+
# https://github.com/actions/setup-go/issues/424
541+
# https://github.com/actions/setup-go/issues/403
542+
# cache-dependency-path: "**/*.sum"
543+
cache: false
524544
id: go
525545

526546
- name: Set up environment
@@ -684,7 +704,11 @@ jobs:
684704
uses: actions/setup-go@v5
685705
with:
686706
go-version-file: 'go-controller/go.mod'
687-
cache-dependency-path: "**/*.sum"
707+
# Disabling cache to avoid warnings until these two issues are fixed
708+
# https://github.com/actions/setup-go/issues/424
709+
# https://github.com/actions/setup-go/issues/403
710+
# cache-dependency-path: "**/*.sum"
711+
cache: false
688712
id: go
689713

690714
- name: Set up environment

0 commit comments

Comments
 (0)