Skip to content

Commit

Permalink
ci: Remove uses of actions/cache
Browse files Browse the repository at this point in the history
actions/go-setup already handles caches
  • Loading branch information
codablock committed Dec 18, 2024
1 parent c289d0a commit 35ad89b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ jobs:
registry: ghcr.io
username: kluctlbot
password: ${{ secrets.GHCR_TOKEN }}
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-goreleaser-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-goreleaser-
- name: Generate helm package
run: |
make helm-package
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: generate-check-go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
generate-check-go-${{ runner.os }}-
- name: Verify generated source is up-to-date
run: |
make generate
Expand Down Expand Up @@ -85,14 +77,6 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: check-docker-images-${{ matrix.docker_platform }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
check-docker-images-${{ runner.os }}-
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
Expand Down Expand Up @@ -122,14 +106,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: tests-go-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
tests-go-${{ runner.os }}-
- name: Run tests
shell: bash
run: |
Expand Down

0 comments on commit 35ad89b

Please sign in to comment.