File tree 3 files changed +22
-14
lines changed
3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
go :
16
- - " 1.20"
17
- - " 1.21"
16
+ - ' 1.22'
17
+ - ' 1.23'
18
+ - ' 1.24'
18
19
name : run tests with go version ${{ matrix.go }}
19
20
steps :
20
21
- name : install go
@@ -33,22 +34,29 @@ jobs:
33
34
COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
34
35
run : |
35
36
make cover
36
-
37
- - name : Coveralls
38
- if : (matrix.go == '1.21')
39
- env :
40
- COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
41
- run : |
42
- if [[ -n "$COVERALLS_TOKEN" ]]; then
43
- make coveralls
44
- fi
37
+
38
+ - name : Send coverage
39
+ uses : shogo82148/actions-goveralls@v1
40
+ with :
41
+ path-to-profile : coverage.out
42
+ flag-name : Go-${{ matrix.go }}
43
+ parallel : true
45
44
46
45
- name : Upload coverage
47
- if : (matrix.go == '1.21 ')
46
+ if : (matrix.go == '1.23 ')
48
47
uses : actions/upload-artifact@v4
49
48
with :
50
49
name : coverage
51
50
path : coverage.*
52
51
53
52
- name : Assert no changes
54
53
run : make assert-no-changes
54
+
55
+ # notifies that all test jobs are finished.
56
+ finish :
57
+ needs : build
58
+ runs-on : ubuntu-latest
59
+ steps :
60
+ - uses : shogo82148/actions-goveralls@v1
61
+ with :
62
+ parallel-finished : true
Original file line number Diff line number Diff line change 17
17
- name : Set up Go
18
18
uses : actions/setup-go@v5
19
19
with :
20
- go-version : " >=1.20 .2"
20
+ go-version : " >=1.23 .2"
21
21
- name : Ensure Go
22
22
run : go version
23
23
Original file line number Diff line number Diff line change 15
15
- name : Set up Go
16
16
uses : actions/setup-go@v5
17
17
with :
18
- go-version : " >=1.20 .2"
18
+ go-version : " >=1.23 .2"
19
19
- name : Ensure Go
20
20
run : go version
21
21
You can’t perform that action at this time.
0 commit comments