Skip to content

Commit 76c1037

Browse files
committed
chore: github actions to test go 1.21 and 1.24
1 parent 5220cdf commit 76c1037

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
jobs:
1010

1111
build:
12+
strategy:
13+
matrix:
14+
go-version: [ '1.21', '1.24' ]
15+
1216
runs-on: ubuntu-latest
1317
steps:
1418
- name: Install RabbitMQ
@@ -19,7 +23,7 @@ jobs:
1923
- name: Set up Go
2024
uses: actions/setup-go@v5
2125
with:
22-
go-version: '1.21'
26+
go-version: ${{ matrix.go-version }}
2327

2428
- name: Build
2529
run: go build -v ./...

0 commit comments

Comments
 (0)