Skip to content

Commit cc87000

Browse files
committed
fixup! Reduce thrashing
1 parent fe09085 commit cc87000

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/actions/setup-go/action.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ runs:
3636
with:
3737
path: |
3838
${{ steps.get_cache_dirs.outputs.go-mod-cache }}}
39-
key: gomodcache-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/go.sum') }}
39+
key: gomodcache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-${{ github.job }}
4040
restore-keys: |
41-
gomodcache-${{ runner.os }}-${{ github.job }}-
41+
gomodcache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-
4242
gomodcache-${{ runner.os }}-
43-
gomodcache-
4443
4544
- name: Cache $GOCACHE
4645
uses: buildjet/cache@v3
@@ -53,7 +52,6 @@ runs:
5352
restore-keys: |
5453
gocache-${{ runner.os }}-${{ github.job }}-
5554
gocache-${{ runner.os }}-
56-
gocache-
5755
5856
- name: Install gotestsum
5957
shell: bash

0 commit comments

Comments
 (0)