Skip to content

Commit

Permalink
Dont cache hack/tool except in autipilot
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Jan 11, 2024
1 parent 555fbf2 commit bb4e953
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum
- name: Cache GOCACHE
uses: actions/cache@v3
with:
key: unittests-k0s-windows-amd64-gocache-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
unittests-k0s-windows-amd64-gocache-${{ github.ref_name }}-
path: |
~\AppData\Local\go-build

- name: Run unit tests
env:
Expand Down Expand Up @@ -221,9 +209,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Download compiled executable
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -296,9 +281,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Download compiled executable
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -360,9 +342,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Cache embedded binaries
uses: actions/cache@v3
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Run basic smoke test
run: make check-basic
Expand Down Expand Up @@ -263,9 +260,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Run basic smoke test
run: make check-basic
Expand Down Expand Up @@ -374,9 +368,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Run basic smoke test
run: make check-basic
Expand Down Expand Up @@ -596,9 +587,6 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
hack/tool/go.sum

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
Expand Down

0 comments on commit bb4e953

Please sign in to comment.