Skip to content

Commit d598f38

Browse files
Update ci.yml
1 parent 72c48c5 commit d598f38

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
- name: Cache Go modules
3434
uses: actions/cache@v4
3535
with:
36-
path: |
37-
~/go/pkg/mod
38-
~/.cache/go-build
39-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
36+
path: ~/go/pkg/mod
37+
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
4038
restore-keys: |
41-
${{ runner.os }}-go-
39+
${{ runner.os }}-gomod-
4240
4341
- name: Print Go env
4442
run: |
@@ -82,12 +80,10 @@ jobs:
8280
- name: Cache Go modules
8381
uses: actions/cache@v4
8482
with:
85-
path: |
86-
~/go/pkg/mod
87-
~/.cache/go-build
88-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
83+
path: ~/go/pkg/mod
84+
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
8985
restore-keys: |
90-
${{ runner.os }}-go-
86+
${{ runner.os }}-gomod-
9187
9288
- name: Install golangci-lint (for make lint, if used)
9389
run: |

0 commit comments

Comments
 (0)