Skip to content

Commit 6795dbc

Browse files
kruskallmergify[bot]
authored andcommitted
ci: switch to custom setup-go action in windows (#15623)
* ci: update GOCACHE vars on windows runner to improve performance windows runner has significantly slower disks and restoring the cache is wasting a huge amount of time * Update ci.yml (cherry picked from commit 211ccc8)
1 parent a48b905 commit 6795dbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ jobs:
4747
runs-on: ${{ matrix.os }}
4848
steps:
4949
- uses: actions/checkout@v4
50+
- uses: antontroshin/setup-go@bda02de8887c9946189f81e7e59512914aeb9ea4
51+
if: runner.os == 'Windows'
52+
with:
53+
go-version-file: go.mod
54+
cache: true
5055
- uses: actions/setup-go@v5
56+
if: runner.os != 'Windows'
5157
with:
5258
go-version-file: go.mod
5359
cache: true

0 commit comments

Comments
 (0)