File tree Expand file tree Collapse file tree 3 files changed +34
-16
lines changed Expand file tree Collapse file tree 3 files changed +34
-16
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+ on : [push]
3
+ jobs :
4
+
5
+ build :
6
+ name : Build
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+
10
+ - name : Set up Go 1.13
11
+ uses : actions/setup-go@v1
12
+ with :
13
+ go-version : 1.13
14
+ id : go
15
+
16
+ - name : Check out code into the Go module directory
17
+ uses : actions/checkout@v1
18
+
19
+ - name : Get dependencies
20
+ run : |
21
+ go get golang.org/x/tools/cmd/cover
22
+ go get github.com/mattn/goveralls
23
+
24
+ - name : Validate
25
+ run : go vet
26
+
27
+ - name : Test
28
+ run : go test -v -covermode=count -coverprofile=coverage.out
29
+
30
+ - name : actions-goveralls
31
+ uses :
shogo82148/[email protected]
32
+ with :
33
+ 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