Skip to content

Commit 89d89d6

Browse files
committed
ci: expand CI to support multiple Go versions dynamically
- Update Go testing matrix to run on versions 1.24 and 1.25 - Set the container image dynamically based on the matrix Go version Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 695ff14 commit 89d89d6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/testing.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626

2727
testing:
2828
runs-on: ubuntu-latest
29-
container: golang:1.23-alpine
29+
strategy:
30+
matrix:
31+
go-version: ['1.24', '1.25']
32+
container: golang:${{ matrix.go-version }}-alpine
3033
steps:
3134
- name: Checkout
3235
uses: actions/checkout@v4

0 commit comments

Comments
 (0)