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
@@ -284,9 +292,6 @@ jobs:
284
292
contents : read
285
293
steps :
286
294
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
287
- - uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
288
- with :
289
- go-version : ${{ env.GO_VERSION }}
290
295
- uses : astral-sh/setup-uv@3b9817b1bf26186f03ab8277bab9b827ea5cc254
291
296
with :
292
297
version : ${{ env.UV_VERSION }}
@@ -308,13 +313,8 @@ jobs:
308
313
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
309
314
- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
310
315
with :
316
+ cache : false
311
317
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
318
- name : build
319
319
run : |
320
320
go build ./...
@@ -390,6 +390,7 @@ jobs:
390
390
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
391
391
- uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
392
392
with :
393
+ cache : ${{ runner.os != 'Windows' }}
393
394
go-version : stable
394
395
- uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
395
396
with :
@@ -456,9 +457,6 @@ jobs:
456
457
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
457
458
with :
458
459
fetch-depth : 0
459
- - uses : actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
460
- with :
461
- go-version : ${{ env.GO_VERSION }}
462
460
- uses : astral-sh/setup-uv@3b9817b1bf26186f03ab8277bab9b827ea5cc254
463
461
with :
464
462
version : ${{ env.UV_VERSION }}
0 commit comments