File tree Expand file tree Collapse file tree 6 files changed +473
-54
lines changed Expand file tree Collapse file tree 6 files changed +473
-54
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : GoReleaser
2
2
on :
3
3
workflow_run :
4
- workflows : ["Bump Version"]
4
+ workflows : ["Bump Git/Docker Version"]
5
5
branches : [master]
6
6
types :
7
7
- completed
Original file line number Diff line number Diff line change 7
7
test :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - name : Install Go
11
- uses : actions/setup-go@v2
12
- - name : Checkout code
13
- uses : actions/checkout@v2
14
- - name : Test
15
- run : go test ./...
10
+ - name : Install Go
11
+ uses : actions/setup-go@v2
12
+ - name : Checkout code
13
+ uses : actions/checkout@v2
14
+ - name : Test
15
+ run : go test -coverprofile=coverage.txt ./...
16
+ - name : Codecov
17
+ uses : codecov/codecov-action@v1
18
+ with :
19
+ file : ./coverage.txt
20
+ golangci-lint :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - name : golangci-lint
25
+ uses : golangci/golangci-lint-action@v2
26
+ with :
27
+ version : v1.32
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ go 1.13
5
5
require (
6
6
github.com/PuerkitoBio/goquery v1.6.0
7
7
github.com/andybalholm/cascadia v1.2.0 // indirect
8
+ github.com/hashicorp/terraform-plugin-sdk/v2 v2.2.0
8
9
github.com/mattn/go-runewidth v0.0.9 // indirect
9
10
github.com/olekukonko/tablewriter v0.0.4
10
11
github.com/sirupsen/logrus v1.7.0
11
12
github.com/stretchr/testify v1.6.1
12
- golang.org/x/net v0.0.0-20201031054903-ff519b6c9102 // indirect
13
- golang.org/x/sys v0.0.0-20201107080550-4d91cf3a1aaf // indirect
13
+ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect
14
+ golang.org/x/sys v0.0.0-20201110211018-35f3e6cf4a65 // indirect
14
15
gopkg.in/yaml.v2 v2.3.0
15
16
)
You can’t perform that action at this time.
0 commit comments