Skip to content

Commit 54ef691

Browse files
committed
ci/gha: test on different Go and Ubuntu versions
Add test matrix to run tests on latest Go and different Ubuntu versions Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 5ee41ae commit 54ef691

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ on:
99
jobs:
1010

1111
build:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-20.04, ubuntu-24.04]
16+
go-version: [1.17.x, 1.22.x, 1.23.x]
1217
runs-on: ubuntu-latest
1318
steps:
1419
- uses: actions/checkout@v4
1520

1621
- name: Set up Go
1722
uses: actions/setup-go@v5
1823
with:
19-
go-version: 1.17
24+
go-version: ${{ matrix.go-version }}
2025

2126
- name: Kernel Modules
2227
run: ./.github/scripts/modprobe.sh

0 commit comments

Comments
 (0)