Skip to content

Commit a670bd6

Browse files
actions: Fix Windows Go version
Prior to this patch, the Go version for the Windows tests in Github actions was set as `1.16.x`, which mysteriously resolved to `1.15.15`[1]. With this patch, the Go version for the Windows tests is set as a semver range. This patch also bumps `actions/setup-go`[2] to the latest version, consistent with the other platforms. [1]: https://github.com/kubernetes-csi/csi-driver-nfs/runs/4211323920?check_suite_focus=true [2]: https://github.com/actions/setup-go
1 parent 96d13a5 commit a670bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
go-versions: [1.16.x]
9+
go-versions: [^1.16]
1010
platform: [windows-latest]
1111
runs-on: ${{ matrix.platform }}
1212
steps:
1313
- name: Install Go
14-
uses: actions/setup-go@v1
14+
uses: actions/setup-go@v2
1515
with:
1616
go-version: ${{ matrix.go-version }}
1717
- name: Checkout code

0 commit comments

Comments
 (0)