Skip to content

Commit 28c1620

Browse files
committed
test.yml: set additional-cache-key to jobs executing go test
Signed-off-by: Norio Nomura <[email protected]>
1 parent 1982cba commit 28c1620

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
fetch-depth: 1
8585
- uses: ./.github/actions/setup_go_with_cache
8686
with:
87+
additional-cache-key: unit
8788
go-version: ${{ matrix.go-version }}
8889
runs-on: ubuntu-24.04
8990
- name: Unit tests
@@ -129,6 +130,7 @@ jobs:
129130
fetch-depth: 1
130131
- uses: ./.github/actions/setup_go_with_cache
131132
with:
133+
additional-cache-key: windows
132134
go-version: 1.23.x
133135
runs-on: windows-2022-8-cores
134136
- name: Unit tests
@@ -166,6 +168,7 @@ jobs:
166168
fetch-depth: 1
167169
- uses: ./.github/actions/setup_go_with_cache
168170
with:
171+
additional-cache-key: integration
169172
go-version: 1.23.x
170173
runs-on: macos-12
171174
- name: Unit tests

0 commit comments

Comments
 (0)