File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 65
65
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
66
66
with :
67
67
fetch-depth : 1
68
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
69
+ with :
70
+ path : |
71
+ ~/.cache/go-build
72
+ ~/go/pkg/mod
73
+ key : setup-go-${{ runner.os }}-x64-ubuntu22-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
74
+ restore-keys : |
75
+ setup-go-${{ runner.os }}-x64-ubuntu22-go-${{ env.GO_VERSION }}-
68
76
- uses : github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd
69
77
with :
70
78
languages : go
@@ -308,13 +316,8 @@ jobs:
308
316
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
309
317
- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
310
318
with :
319
+ cache : false
311
320
go-version : ${{ env.GO_VERSION }}
312
- - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
313
- with :
314
- path : ~/go/pkg/mod
315
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
316
- restore-keys : |
317
- ${{ runner.os }}-go-
318
321
- name : build
319
322
run : |
320
323
go build ./...
@@ -390,6 +393,7 @@ jobs:
390
393
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
391
394
- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
392
395
with :
396
+ cache : ${{ runner.os != 'Windows' }}
393
397
go-version : stable
394
398
- uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
395
399
with :
You can’t perform that action at this time.
0 commit comments