Skip to content

Commit 46235e8

Browse files
authored
Merge pull request #160 from kolyshkin/go-disable-cache
ci: checkout first, disable go caching
2 parents 2a3520a + abc10f0 commit 46235e8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ jobs:
1111
run:
1212
shell: bash
1313
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
1416
- name: Install Go
1517
uses: actions/setup-go@v5
1618
with:
1719
go-version: ${{ matrix.go-version }}
18-
- name: Checkout code
19-
uses: actions/checkout@v4
20+
# Disable caching as we don't have top-level go.sum needed for
21+
# the cache key, and specifying multiple go.sums is not trivial
22+
# (see https://github.com/moby/sys/pull/160 for details).
23+
cache: false
2024
- name: Set PACKAGES env
2125
if: ${{ matrix.go-version == '1.18.x' }}
2226
run: |

0 commit comments

Comments
 (0)