Skip to content

Commit 583334d

Browse files
committed
test.yml: set additional-cache-key to jobs executing go test
Signed-off-by: Norio Nomura <[email protected]>
1 parent 7ee0add commit 583334d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
fetch-depth: 1
8686
- uses: ./.github/actions/setup_go_with_cache
8787
with:
88+
additional-cache-key: unit
8889
go-version: ${{ matrix.go-version }}
8990
runs-on: ubuntu-24.04
9091
- name: Unit tests
@@ -134,6 +135,7 @@ jobs:
134135
fetch-depth: 1
135136
- uses: ./.github/actions/setup_go_with_cache
136137
with:
138+
additional-cache-key: windows
137139
go-version: 1.23.x
138140
runs-on: windows-2022-8-cores
139141
- name: Unit tests
@@ -172,6 +174,7 @@ jobs:
172174
fetch-depth: 0
173175
- uses: ./.github/actions/setup_go_with_cache
174176
with:
177+
additional-cache-key: integration
175178
go-version: 1.23.x
176179
runs-on: macos-12
177180
- name: Unit tests

0 commit comments

Comments
 (0)