Skip to content

Commit 5dab7b4

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 28cd68c commit 5dab7b4

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
@@ -45,7 +45,13 @@ jobs:
4545
runs-on: ${{ matrix.os }}
4646
steps:
4747
- uses: actions/checkout@v4
48+
- uses: antontroshin/setup-go@bda02de8887c9946189f81e7e59512914aeb9ea4
49+
if: runner.os == 'Windows'
50+
with:
51+
go-version-file: go.mod
52+
cache: true
4853
- uses: actions/setup-go@v5
54+
if: runner.os != 'Windows'
4955
with:
5056
go-version-file: go.mod
5157
cache: true

0 commit comments

Comments
 (0)