File tree 4 files changed +16
-32
lines changed
4 files changed +16
-32
lines changed Original file line number Diff line number Diff line change 8
8
fail-fast : false
9
9
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
10
10
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"
18
14
steps :
19
15
- name : Check out source code
20
16
uses : actions/checkout@v4
21
17
22
18
- name : Set up Go
23
19
uses : actions/setup-go@v4
24
20
with :
25
- ${{ matrix.strategy }} : ${{ matrix.version }}
21
+ go-version : ${{ matrix.version }}
26
22
27
23
- name : Test
28
24
run : make test
Original file line number Diff line number Diff line change 8
8
fail-fast : false
9
9
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
10
10
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"
18
14
steps :
19
15
- name : Check out source code
20
16
uses : actions/checkout@v4
21
17
22
18
- name : Set up Go
23
19
uses : actions/setup-go@v4
24
20
with :
25
- ${{ matrix.strategy }} : ${{ matrix.version }}
21
+ go-version : ${{ matrix.version }}
26
22
27
23
- name : Run `make generate`
28
24
run : make generate
Original file line number Diff line number Diff line change 8
8
fail-fast : false
9
9
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
10
10
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"
18
14
steps :
19
15
- name : Check out source code
20
16
uses : actions/checkout@v4
21
17
22
18
- name : Set up Go
23
19
uses : actions/setup-go@v4
24
20
with :
25
- ${{ matrix.strategy }} : ${{ matrix.version }}
21
+ go-version : ${{ matrix.version }}
26
22
27
23
- name : Run `make lint-ci`
28
24
run : make lint-ci
Original file line number Diff line number Diff line change 8
8
fail-fast : false
9
9
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
10
10
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"
18
14
steps :
19
15
- name : Check out source code
20
16
uses : actions/checkout@v4
21
17
22
18
- name : Set up Go
23
19
uses : actions/setup-go@v4
24
20
with :
25
- ${{ matrix.strategy }} : ${{ matrix.version }}
21
+ go-version : ${{ matrix.version }}
26
22
27
23
- name : Install `tidied`
28
24
run : go install gitlab.com/jamietanna/tidied@latest
You can’t perform that action at this time.
0 commit comments