We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2479d commit 19c73d8Copy full SHA for 19c73d8
.github/workflows/ci.yaml
@@ -13,6 +13,9 @@ permissions:
13
jobs:
14
ci:
15
runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ go-version: [1.23.x, 1.24.x, 1.25.x]
19
steps:
20
- name: Checkout Code
21
uses: actions/checkout@v4
@@ -21,8 +24,13 @@ jobs:
24
- name: Install Go
22
25
uses: actions/setup-go@v5
23
26
with:
- go-version-file: go.mod
27
+ go-version: ${{ matrix.go-version }}
28
- name: Test
29
run: make test
30
- 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'
36
run: make checkgenerate && make lint
0 commit comments