Skip to content

Commit

Permalink
ci: switch to custom setup-go action in windows (#15623) (#15727)
Browse files Browse the repository at this point in the history
* 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)

Co-authored-by: kruskall <[email protected]>
  • Loading branch information
mergify[bot] and kruskall authored Feb 13, 2025
1 parent 7890ef7 commit 58c1fdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: antontroshin/setup-go@bda02de8887c9946189f81e7e59512914aeb9ea4
if: runner.os == 'Windows'
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-go@v5
if: runner.os != 'Windows'
with:
go-version-file: go.mod
cache: true
Expand Down

0 comments on commit 58c1fdc

Please sign in to comment.