File tree 3 files changed +36
-1
lines changed
3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : lint
2
+ on :
3
+ pull_request : {}
4
+
5
+ jobs :
6
+ lint :
7
+ name : lint
8
+ runs-on : ubuntu-18.04
9
+ steps :
10
+ - uses : actions/setup-go@v2
11
+ with :
12
+ go-version : 1.16
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+ - run : make lint
Original file line number Diff line number Diff line change
1
+ name : test-unit
2
+ on :
3
+ pull_request : {}
4
+
5
+ jobs :
6
+ unit :
7
+ name : unit
8
+ runs-on : ubuntu-18.04
9
+ steps :
10
+ - uses : actions/setup-go@v2
11
+ with :
12
+ go-version : 1.16
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
16
+ - run : make test
17
+ - uses : shogo82148/actions-goveralls@v1
18
+ with :
19
+ path-to-profile : coverage.out
Original file line number Diff line number Diff line change 3
3
@go fmt ./...
4
4
5
5
test :
6
- @ginkgo ./...
6
+ @go test -coverprofile=coverage.out -covermode=count -short ./...
7
7
8
8
.PHONY : test lint
You can’t perform that action at this time.
0 commit comments