Skip to content

Commit b492357

Browse files
authored
Merge pull request #3822 from kolyshkin/gha-rm-cache
ci/gha: disable double caching
2 parents 57952fe + 62cc13e commit b492357

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- uses: actions/setup-go@v4
3333
with:
3434
go-version: "${{ env.GO_VERSION }}"
35+
cache: false # golangci-lint-action does its own caching
3536
- name: install deps
3637
run: |
3738
sudo apt -q update
@@ -108,14 +109,6 @@ jobs:
108109
uses: actions/setup-go@v4
109110
with:
110111
go-version: "${{ env.GO_VERSION }}"
111-
- name: cache go mod and $GOCACHE
112-
uses: actions/cache@v3
113-
with:
114-
path: |
115-
~/go/pkg/mod
116-
~/.cache/go-build
117-
key: ${{ runner.os }}-go.sum-${{ hashFiles('**/go.sum') }}
118-
restore-keys: ${{ runner.os }}-go.sum-
119112
- name: verify deps
120113
run: make verify-dependencies
121114

0 commit comments

Comments
 (0)