Skip to content

Commit 35ad89b

Browse files
committed
ci: Remove uses of actions/cache
actions/go-setup already handles caches
1 parent c289d0a commit 35ad89b

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

.github/workflows/release.yml

-8
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ jobs:
4141
registry: ghcr.io
4242
username: kluctlbot
4343
password: ${{ secrets.GHCR_TOKEN }}
44-
- uses: actions/cache@v4
45-
with:
46-
path: |
47-
~/go/pkg/mod
48-
~/.cache/go-build
49-
key: ${{ runner.os }}-goreleaser-${{ hashFiles('**/go.sum') }}
50-
restore-keys: |
51-
${{ runner.os }}-goreleaser-
5244
- name: Generate helm package
5345
run: |
5446
make helm-package

.github/workflows/tests.yml

-24
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ jobs:
2020
- uses: actions/setup-go@v5
2121
with:
2222
go-version-file: go.mod
23-
- uses: actions/cache@v4
24-
with:
25-
path: |
26-
~/go/pkg/mod
27-
~/.cache/go-build
28-
key: generate-check-go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
29-
restore-keys: |
30-
generate-check-go-${{ runner.os }}-
3123
- name: Verify generated source is up-to-date
3224
run: |
3325
make generate
@@ -85,14 +77,6 @@ jobs:
8577
- uses: actions/setup-go@v5
8678
with:
8779
go-version-file: go.mod
88-
- uses: actions/cache@v4
89-
with:
90-
path: |
91-
~/go/pkg/mod
92-
~/.cache/go-build
93-
key: check-docker-images-${{ matrix.docker_platform }}-${{ hashFiles('**/go.sum') }}
94-
restore-keys: |
95-
check-docker-images-${{ runner.os }}-
9680
- name: Setup QEMU
9781
uses: docker/setup-qemu-action@v3
9882
- name: Setup Docker Buildx
@@ -122,14 +106,6 @@ jobs:
122106
- uses: actions/setup-python@v5
123107
with:
124108
python-version: '3.11'
125-
- uses: actions/cache@v4
126-
with:
127-
path: |
128-
~/go/pkg/mod
129-
~/.cache/go-build
130-
key: tests-go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
131-
restore-keys: |
132-
tests-go-${{ runner.os }}-
133109
- name: Run tests
134110
shell: bash
135111
run: |

0 commit comments

Comments
 (0)