Skip to content

Commit 964a3c7

Browse files
committed
chore(ci): test more go version
1 parent 0f7f47e commit 964a3c7

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

.github/workflows/test.yml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,42 @@ on:
77
pull_request:
88

99
jobs:
10-
1110
test:
1211
runs-on: ubuntu-latest
1312
strategy:
1413
matrix:
1514
go:
16-
- '1.18'
17-
- '1.19'
18-
- '1.20'
19-
- '1.21'
20-
- '1.22'
21-
- '1.x'
15+
- "1.18"
16+
- "1.19"
17+
- "1.20"
18+
- "1.21"
19+
- "1.22"
20+
- "1.23"
21+
- "1.24"
22+
- "1.x"
2223
steps:
23-
- uses: actions/checkout@v4
24-
25-
- name: Set up Go
26-
uses: actions/setup-go@v5
27-
with:
28-
go-version: ${{ matrix.go }}
29-
stable: false
30-
31-
- name: Build
32-
run: make build
33-
34-
- name: Test
35-
run: make test
36-
37-
- name: Test
38-
run: make coverage
39-
40-
- name: Codecov
41-
uses: codecov/codecov-action@v5
42-
with:
43-
token: ${{ secrets.CODECOV_TOKEN }}
44-
file: ./cover.out
45-
flags: unittests
46-
verbose: true
47-
if: matrix.go == '1.18'
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Go
27+
uses: actions/setup-go@v5
28+
with:
29+
go-version: ${{ matrix.go }}
30+
stable: false
31+
32+
- name: Build
33+
run: make build
34+
35+
- name: Test
36+
run: make test
37+
38+
- name: Test
39+
run: make coverage
40+
41+
- name: Codecov
42+
uses: codecov/codecov-action@v5
43+
with:
44+
token: ${{ secrets.CODECOV_TOKEN }}
45+
file: ./cover.out
46+
flags: unittests
47+
verbose: true
48+
if: matrix.go == '1.18'

0 commit comments

Comments
 (0)