Skip to content

Commit 0963f39

Browse files
committed
updated github actions
1 parent 65ac180 commit 0963f39

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/test.yaml

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ on:
99

1010
jobs:
1111
build:
12-
name: Linux
1312
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
go: ['1.21', '1.22']
16+
name: Linux Go ${{ matrix.go }}
1417
steps:
15-
- name: Set up Go 1.19
16-
uses: actions/setup-go@v2
18+
- uses: actions/checkout@v4
19+
- name: Setup go
20+
uses: actions/setup-go@v5
1721
with:
18-
go-version: '1.19'
19-
id: go
20-
- name: Check out code into the Go module directory
21-
uses: actions/checkout@v2
22+
go-version: ${{ matrix.go }}
2223
- name: Test
2324
run: "./test"

0 commit comments

Comments
 (0)