Skip to content

Commit 967e8af

Browse files
committed
Add build matrix with different Go versions
1 parent 6a996b6 commit 967e8af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/go-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
pull_request:
1515
paths:
1616
- "go/**"
17-
- "!go/documentation/**"
17+
- "!go/documentation/**"
1818
- "shared/**"
1919
- .github/workflows/go-tests.yml
2020
- .github/actions/**
@@ -31,10 +31,15 @@ jobs:
3131
if: github.repository_owner == 'github'
3232
name: Test Linux (Ubuntu)
3333
runs-on: ubuntu-latest-xl
34+
strategy:
35+
fail-fast: false
36+
matrix:
37+
go-version: ['~1.24.0', '1.25.0-rc.1']
3438
steps:
3539
- name: Check out code
3640
uses: actions/checkout@v4
3741
- name: Run tests
3842
uses: ./go/actions/test
3943
with:
4044
run-code-checks: true
45+
go-test-version: ${{ matrix.go-version }}

0 commit comments

Comments
 (0)