File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments