File tree Expand file tree Collapse file tree 3 files changed +37
-16
lines changed Expand file tree Collapse file tree 3 files changed +37
-16
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+
7
+ jobs :
8
+ build :
9
+ name : Build
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+
13
+ - name : Set up Go 1.13
14
+ uses : actions/setup-go@v1
15
+ with :
16
+ go-version : 1.13
17
+ id : go
18
+
19
+ - name : Check out code into the Go module directory
20
+ uses : actions/checkout@v1
21
+
22
+ - name : Get dependencies
23
+ run : |
24
+ go get golang.org/x/tools/cmd/cover
25
+ go get github.com/mattn/goveralls
26
+
27
+ - name : Validate
28
+ run : go vet
29
+
30
+ - name : Test
31
+ run : go test -v -covermode=count -coverprofile=coverage.out
32
+
33
+ - name : actions-goveralls
34
+ uses :
shogo82148/[email protected]
35
+ with :
36
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# go-proxyproto
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /pires/go-proxyproto.svg?branch=master )] ( https://travis-ci.org /pires/go-proxyproto )
3
+ [ ![ Actions Status] ( https://github.com /pires/go-proxyproto/workflows/test/badge .svg )] ( https://github.com /pires/go-proxyproto/actions )
4
4
[ ![ Coverage Status] ( https://coveralls.io/repos/github/pires/go-proxyproto/badge.svg?branch=master )] ( https://coveralls.io/github/pires/go-proxyproto?branch=master )
5
5
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/pires/go-proxyproto )] ( https://goreportcard.com/report/github.com/pires/go-proxyproto )
6
6
You can’t perform that action at this time.
0 commit comments