Skip to content

Commit fa95138

Browse files
apply suggestion by ai
1 parent c6a89e8 commit fa95138

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/linter.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ jobs:
1616
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
1717
with:
1818
path: |
19-
~/.cache/golangci-lint
2019
bin/golangci-lint
2120
bin/custom-gcl
2221
key: ${{ runner.os }}-${{ runner.arch }}-tools-${{ hashFiles('.custom-gcl.yml', 'tools/**/go.mod', 'tools/**/go.sum', 'tools/**/*.go') }}
22+
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
23+
with:
24+
path: ~/.cache/golangci-lint
25+
key: ${{ runner.os }}-${{ runner.arch }}-golangci-${{ github.run_id }}
26+
restore-keys: |
27+
${{ runner.os }}-${{ runner.arch }}-golangci-
2328
- run: script/lint.sh
2429
env:
2530
CHECK_GITHUB_OPENAPI: 1
26-
GITHUB_TOKEN: ${{ github.token }}
31+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)