Skip to content

Commit 58e4cf4

Browse files
committed
ci/gha: remove actions/cache
Because actions/setup-go does its own caching now, adding our own: - unnecessarily complicates things; - results in double caching. Remove it. Note that a single common cache will be used between the two jobs (which is OK). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
1 parent 475c7de commit 58e4cf4

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,10 @@ jobs:
1010
conmon:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- uses: actions/checkout@v4
1314
- uses: actions/setup-go@v5
1415
with:
1516
go-version: '1.22'
16-
- uses: actions/checkout@v4
17-
- uses: actions/cache@v4
18-
with:
19-
path: |
20-
~/go/pkg/mod
21-
~/.cache/go-build
22-
key: go-integration-conmon-${{ hashFiles('**/go.mod') }}
23-
restore-keys: go-integration-conmon-
2417
- run: sudo hack/github-actions-setup
2518
- name: Run conmon integration tests
2619
run: |
@@ -31,17 +24,10 @@ jobs:
3124
cri-o:
3225
runs-on: ubuntu-latest
3326
steps:
27+
- uses: actions/checkout@v4
3428
- uses: actions/setup-go@v5
3529
with:
3630
go-version: '1.22'
37-
- uses: actions/checkout@v4
38-
- uses: actions/cache@v4
39-
with:
40-
path: |
41-
~/go/pkg/mod
42-
~/.cache/go-build
43-
key: go-integration-cri-o-${{ hashFiles('**/go.mod') }}
44-
restore-keys: go-integration-cri-o-
4531
- run: sudo hack/github-actions-setup
4632
- name: Run CRI-O integration tests
4733
run: |

0 commit comments

Comments
 (0)