Skip to content

Commit 4c90c14

Browse files
committed
improve (ci): test for multiple go versions
1 parent 938a604 commit 4c90c14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/unit_tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ jobs:
44
checks:
55
name: test
66
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
go-version: ['1.19', '1.20', '1.21', '1.22', '1.23', '1.24', '1.25']
710
steps:
811
- uses: actions/[email protected]
912
name: Checkout Repository
1013
- name: Setup go
1114
uses: actions/setup-go@v6
1215
with:
13-
go-version: 1.19
16+
go-version: ${{ matrix.go-version }}
1417
- name: Run tests
1518
run: go test -v -covermode=count -coverprofile=coverage.out
1619
- name: Convert coverage to lcov

0 commit comments

Comments
 (0)