File tree 3 files changed +30
-10
lines changed
3 files changed +30
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # other reference: https://github.com/mvdan/github-actions-golang
2
+ name : build
3
+
4
+ on :
5
+ push :
6
+ branches : ["main"]
7
+ pull_request :
8
+ branches : ["main"]
9
+
10
+ jobs :
11
+ test :
12
+ strategy :
13
+ matrix :
14
+ go :
15
+ - " 1.15.1"
16
+ runs-on : ubuntu-18.04
17
+ container :
18
+ image : golang:${{ matrix.go }}
19
+
20
+ env :
21
+ CODECOV_TOKEN : 701e86bd-1c7e-43ee-903d-f73944e464c0 # for codecov
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - name : Run tests
25
+ run : | # -race wouldn't be supported without gcc
26
+ go test -v -race $(go list ./... | grep -v /vendor/) -coverprofile=coverage.txt &&
27
+ bash <(curl -s https://codecov.io/bash)
28
+ shell : bash
Original file line number Diff line number Diff line change 1
1
module github.com/sammyne/bip32
2
2
3
+ go 1.15
4
+
3
5
require (
4
6
github.com/btcsuite/btcd v0.0.0-20181013004428-67e573d211ac
5
7
github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a
You can’t perform that action at this time.
0 commit comments