Skip to content

Commit 5e59cf8

Browse files
authored
Update test.yml
1 parent e0678ea commit 5e59cf8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,19 @@ jobs:
1010

1111
test:
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go:
16+
- '1.21'
17+
- '1.22'
18+
- '1.x'
1319
steps:
1420
- uses: actions/checkout@v2
1521

1622
- name: Set up Go
1723
uses: actions/setup-go@v2
1824
with:
19-
go-version: 1.21
25+
go-version: ${{ matrix.go }}
2026
stable: false
2127

2228
- name: Build
@@ -35,3 +41,4 @@ jobs:
3541
file: ./cover.out
3642
flags: unittests
3743
verbose: true
44+
if: matrix.go == '1.21'

0 commit comments

Comments
 (0)