File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,18 @@ jobs:
16
16
17
17
build :
18
18
runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ # Test on supported go compiler releases as well as the oldest version we support from go.mod.
22
+ go : [ '1.21.0', 'oldstable', 'stable' ]
23
+ name : Go version ${{ matrix.go }}
19
24
steps :
20
25
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
26
22
27
- name : Set up Go
23
28
uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
24
29
with :
25
- # TODO: enable [matrix testing](https://github.com/marketplace/actions/setup-go-environment#matrix-testing)
26
- # so that we can test on both stable, oldstable and the oldest version
27
- # we currently support (as specified in go.mod).
28
- go-version : ' stable'
30
+ go-version : ${{ matrix.go }}
29
31
30
32
- name : Build
31
33
run : go build -v ./...
You can’t perform that action at this time.
0 commit comments