Skip to content

Commit 68e30e1

Browse files
Upgrade actions/setup-go to v4 in CI workflow (#747)
Adds protections to disable caching for corner case when compiling across multiple Linux distribution versions would result in collisions. Signed-off-by: Austin Vazquez <[email protected]>
1 parent d7d323f commit 68e30e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ jobs:
3737
# So, we will fetch 30 commits just in case to have
3838
# 20 actual commits with associated merged commits.
3939
fetch-depth: 30
40-
- uses: actions/setup-go@v3
40+
- uses: actions/setup-go@v4
4141
with:
4242
go-version: ${{ matrix.go }}
43+
# Disable Go caching feature when compiling across Linux distributions due to collisions until https://github.com/actions/setup-go/issues/368 is resolved.
44+
cache: false
4345
- run: make
4446
- run: make lint
4547
- name: make test

0 commit comments

Comments
 (0)