Skip to content

Commit e871772

Browse files
authored
Update ci.yml
1 parent 5241ce9 commit e871772

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ jobs:
5454
echo "GOMODCACHE=D:\gomodcache" >> C:\Users\runneradmin\AppData\Roaming\go\env
5555
echo "GOTMPDIR=D:\gotmp" >> C:\Users\runneradmin\AppData\Roaming\go\env
5656
cat C:\Users\runneradmin\AppData\Roaming\go\env
57+
- uses: antontroshin/setup-go@bda02de8887c9946189f81e7e59512914aeb9ea4
58+
if: runner.os == 'Windows'
59+
with:
60+
go-version-file: go.mod
61+
cache: true
5762
- uses: actions/setup-go@v5
63+
if: runner.os != 'Windows'
5864
with:
5965
go-version-file: go.mod
6066
cache: true

0 commit comments

Comments
 (0)