File tree Expand file tree Collapse file tree 4 files changed +29
-6
lines changed Expand file tree Collapse file tree 4 files changed +29
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Go
2
+ on :
3
+ push :
4
+ branches : [ "main" ]
5
+ pull_request :
6
+ branches : [ "main" ]
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v3
12
+ - name : Set up Go
13
+ uses : actions/setup-go@v3
14
+ with :
15
+ go-version : 1.18
16
+ - name : Build
17
+ run : go build -v ./...
18
+ - name : Test
19
+ run : go test -v -race -covermode atomic -coverprofile=covprofile ./...
20
+ - name : Install goveralls
21
+ run : go install github.com/mattn/goveralls@latest
22
+ - name : Send coverage
23
+ env :
24
+ COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ run : goveralls -coverprofile=covprofile -service=github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Golang combinations
2
2
3
3
[ ![ GoDoc] ( https://godoc.org/github.com/mxschmitt/golang-combinations?status.svg )] ( https://godoc.org/github.com/mxschmitt/golang-combinations )
4
- [ ![ Build Status ] ( https://travis-ci .com/mxschmitt/golang-combinations. svg?branch=master )] ( https://travis-ci .com/mxschmitt/golang-combinations )
4
+ [ ![ Go ] ( https://github .com/mxschmitt/golang-combinations/actions/workflows/go.yml/badge. svg )] ( https://github .com/mxschmitt/golang-combinations/actions/workflows/go.yml )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/mxschmitt/golang-combinations/badge.svg?branch=master )] ( https://coveralls.io/github/mxschmitt/golang-combinations?branch=master )
6
6
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/mxschmitt/golang-combinations )] ( https://goreportcard.com/report/github.com/mxschmitt/golang-combinations )
7
7
[ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
Original file line number Diff line number Diff line change
1
+ module github.com/mxschmitt/golang-combinations
2
+
3
+ go 1.18
You can’t perform that action at this time.
0 commit comments