File tree 3 files changed +42
-16
lines changed
3 files changed +42
-16
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ test :
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os :
17
+ - ubuntu-latest
18
+ - macos-latest
19
+ - windows-latest
20
+ go :
21
+ - ' 1.17'
22
+ - ' 1.16'
23
+ - ' 1.15'
24
+ - ' 1.14'
25
+ - ' 1.13'
26
+ steps :
27
+ - uses : actions/setup-go@v2
28
+ with :
29
+ go-versions : ${{ matrix.go }}
30
+ - uses : actions/checkout@v2
31
+ - name : test
32
+ shell : bash
33
+ run : |
34
+ ./go.test.sh
35
+ - name : upload coverage report
36
+ uses : codecov/codecov-action@v2
37
+ with :
38
+ env_vars : OS,GO
39
+ env :
40
+ OS : ${{ matrix.os }}
41
+ GO : ${{ matrix.go }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# go-colorable
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /mattn/go-colorable.svg?branch=master )] ( https://travis-ci.org /mattn/go-colorable )
3
+ [ ![ Build Status] ( https://github.com /mattn/go-colorable/workflows/test/badge .svg )] ( https://github.com /mattn/go-colorable/actions?query=workflow%3Atest )
4
4
[ ![ Codecov] ( https://codecov.io/gh/mattn/go-colorable/branch/master/graph/badge.svg )] ( https://codecov.io/gh/mattn/go-colorable )
5
5
[ ![ GoDoc] ( https://godoc.org/github.com/mattn/go-colorable?status.svg )] ( http://godoc.org/github.com/mattn/go-colorable )
6
6
[ ![ Go Report Card] ( https://goreportcard.com/badge/mattn/go-colorable )] ( https://goreportcard.com/report/mattn/go-colorable )
You can’t perform that action at this time.
0 commit comments