Skip to content

Commit 9349de2

Browse files
committed
add go version matrix for tests
1 parent 04d3684 commit 9349de2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ name: Tests
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
go-version:
16+
- "1.24.x"
17+
- "1.25.x"
1218

1319
steps:
1420
- uses: actions/checkout@v5
1521

16-
- name: Setup Go
22+
- name: Setup Go ${{ matrix.go-version }}
1723
uses: actions/setup-go@v6
1824
with:
19-
go-version: "1.25.x"
25+
go-version: ${{ matrix.go-version }}
2026

2127
- run: go version
2228

0 commit comments

Comments
 (0)