Skip to content

Commit 2fe9ad6

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 7890ef7 commit 2fe9ad6

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

0 commit comments

Comments
 (0)