Skip to content

Commit 60d199f

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) # Conflicts: # .github/workflows/ci.yml
1 parent 65b445a commit 60d199f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,19 @@ jobs:
3232
os: ['macos-latest', 'windows-latest', 'ubuntu-latest']
3333
runs-on: ${{ matrix.os }}
3434
steps:
35+
<<<<<<< HEAD
3536
- uses: actions/checkout@v3
3637
- uses: actions/setup-go@v3
38+
=======
39+
- uses: actions/checkout@v4
40+
- uses: antontroshin/setup-go@bda02de8887c9946189f81e7e59512914aeb9ea4
41+
if: runner.os == 'Windows'
42+
with:
43+
go-version-file: go.mod
44+
cache: true
45+
- uses: actions/setup-go@v5
46+
if: runner.os != 'Windows'
47+
>>>>>>> 211ccc86 (ci: switch to custom setup-go action in windows (#15623))
3748
with:
3849
go-version-file: .go-version
3950
cache: true

0 commit comments

Comments
 (0)