You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,18 @@ jobs:
25
25
strategy:
26
26
fail-fast: false
27
27
matrix:
28
-
go: ["1.18.x", "oldstable", "stable"]
28
+
go:
29
+
- ""# do not specify go-version to fall back on go-version-file (use go.mod); see https://github.com/actions/setup-go/issues/450#issuecomment-3620402646
30
+
- "oldstable"
31
+
- "stable"
29
32
platform: [ubuntu-24.04]
30
33
runs-on: ${{ matrix.platform }}
31
34
steps:
32
35
- name: Install Go ${{ matrix.go }}
33
36
uses: actions/setup-go@v6
34
37
with:
35
38
go-version: ${{ matrix.go }}
39
+
go-version-file: "go.mod"# used when go-version is not specified.
- ""# do not specify go-version to fall back on go-version-file (use go.mod); see https://github.com/actions/setup-go/issues/450#issuecomment-3620402646
57
+
- "oldstable"
58
+
- "stable"
52
59
platform: [windows-latest, macos-latest]
53
60
runs-on: ${{ matrix.platform }}
54
61
steps:
55
62
- name: Install Go ${{ matrix.go }}
56
63
uses: actions/setup-go@v6
57
64
with:
58
65
go-version: ${{ matrix.go }}
66
+
go-version-file: "go.mod"# used when go-version is not specified.
0 commit comments