Skip to content

Commit 19c73d8

Browse files
Add back matrix tests, up to 1.25
1 parent 5f2479d commit 19c73d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ permissions:
1313
jobs:
1414
ci:
1515
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
go-version: [1.23.x, 1.24.x, 1.25.x]
1619
steps:
1720
- name: Checkout Code
1821
uses: actions/checkout@v4
@@ -21,8 +24,13 @@ jobs:
2124
- name: Install Go
2225
uses: actions/setup-go@v5
2326
with:
24-
go-version-file: go.mod
27+
go-version: ${{ matrix.go-version }}
2528
- name: Test
2629
run: make test
2730
- name: Lint
31+
# Often, lint & gofmt guidelines depend on the Go version. To prevent
32+
# conflicting guidance, run only on the most recent supported version.
33+
# For the same reason, only check generated code on the most recent
34+
# supported version.
35+
if: matrix.go-version == '1.25.x'
2836
run: make checkgenerate && make lint

0 commit comments

Comments
 (0)