Skip to content

Commit aa8440b

Browse files
authored
Bump Go on CI (#43)
1 parent d812e7b commit aa8440b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/workflow.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,23 @@ on:
99
jobs:
1010
unit-tests:
1111
name: unit-tests
12-
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go-version:
15+
- 1.23.x
16+
- 1.24.x
17+
# TODO: migrate to golangci-lint to v2 first:
18+
# - 1.25.x
19+
os: [ ubuntu-latest ]
20+
runs-on: ${{ matrix.os }}
1321
steps:
1422
- name: Checkout
1523
uses: actions/checkout@master
1624

1725
- name: Install Go
1826
uses: actions/setup-go@v4
1927
with:
20-
go-version-file: ./go.mod
28+
go-version: ${{ matrix.go-version }}
2129
cache: true # caching and restoring go modules and build outputs
2230

2331
- name: Test

0 commit comments

Comments
 (0)