File tree Expand file tree Collapse file tree 4 files changed +16
-32
lines changed Expand file tree Collapse file tree 4 files changed +16
-32
lines changed Original file line number Diff line number Diff line change 88 fail-fast : false
99 # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
1010 matrix :
11- # strategy is used to allow us to pin to a specific Go version, or use the version available in our `go.mod`
12- strategy : ['go-version']
13- version : [1.21]
14- include :
15- # pick up the Go version from the `go.mod`
16- - strategy : ' go-version-file'
17- version : ' go.mod'
11+ version :
12+ - " 1.20"
13+ - " 1.21"
1814 steps :
1915 - name : Check out source code
2016 uses : actions/checkout@v3
2117
2218 - name : Set up Go
2319 uses : actions/setup-go@v3
2420 with :
25- ${{ matrix.strategy }} : ${{ matrix.version }}
21+ go-version : ${{ matrix.version }}
2622
2723 - name : Test
2824 run : make test
Original file line number Diff line number Diff line change 88 fail-fast : false
99 # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
1010 matrix :
11- # strategy is used to allow us to pin to a specific Go version, or use the version available in our `go.mod`
12- strategy : ['go-version']
13- version : [1.21]
14- include :
15- # pick up the Go version from the `go.mod`
16- - strategy : ' go-version-file'
17- version : ' go.mod'
11+ version :
12+ - " 1.20"
13+ - " 1.21"
1814 steps :
1915 - name : Check out source code
2016 uses : actions/checkout@v3
2117
2218 - name : Set up Go
2319 uses : actions/setup-go@v3
2420 with :
25- ${{ matrix.strategy }} : ${{ matrix.version }}
21+ go-version : ${{ matrix.version }}
2622
2723 - name : Run `make generate`
2824 run : make generate
Original file line number Diff line number Diff line change 88 fail-fast : false
99 # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
1010 matrix :
11- # strategy is used to allow us to pin to a specific Go version, or use the version available in our `go.mod`
12- strategy : ['go-version']
13- version : [1.21]
14- include :
15- # pick up the Go version from the `go.mod`
16- - strategy : ' go-version-file'
17- version : ' go.mod'
11+ version :
12+ - " 1.20"
13+ - " 1.21"
1814 steps :
1915 - name : Check out source code
2016 uses : actions/checkout@v3
2117
2218 - name : Set up Go
2319 uses : actions/setup-go@v3
2420 with :
25- ${{ matrix.strategy }} : ${{ matrix.version }}
21+ go-version : ${{ matrix.version }}
2622
2723 - name : Run `make lint-ci`
2824 run : make lint-ci
Original file line number Diff line number Diff line change 88 fail-fast : false
99 # perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
1010 matrix :
11- # strategy is used to allow us to pin to a specific Go version, or use the version available in our `go.mod`
12- strategy : ['go-version']
13- version : [1.21]
14- include :
15- # pick up the Go version from the `go.mod`
16- - strategy : ' go-version-file'
17- version : ' go.mod'
11+ version :
12+ - " 1.20"
13+ - " 1.21"
1814 steps :
1915 - name : Check out source code
2016 uses : actions/checkout@v3
2117
2218 - name : Set up Go
2319 uses : actions/setup-go@v3
2420 with :
25- ${{ matrix.strategy }} : ${{ matrix.version }}
21+ go-version : ${{ matrix.version }}
2622
2723 - name : Install `tidied`
2824 run : go install gitlab.com/jamietanna/tidied@latest
You can’t perform that action at this time.
0 commit comments