Commit 302adda 1 parent 738550e commit 302adda Copy full SHA for 302adda
File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 10
10
uses : actions/setup-go@v5
11
11
with :
12
12
go-version : " 1.23.4"
13
- - name : Deps
14
- run : |
15
- make dev-deps
16
13
- name : Vet
17
14
run : |
18
15
make vet
Original file line number Diff line number Diff line change 2
2
go vet -v ./...
3
3
4
4
test :
5
- gotestsum -- -v ./...
5
+ go test -v ./...
6
6
7
7
test-coverage :
8
- mkdir -p coverage
9
- gotestsum -- -v ./... -coverpkg=./... -coverprofile=coverage/coverage.out
10
- go tool cover -html coverage/coverage.out -o coverage/coverage.html
8
+ go test -v ./... -coverprofile=coverage.out
11
9
12
10
open-coverage :
13
- open coverage/coverage.html
14
-
15
- dev-deps :
16
- go install gotest.tools/gotestsum@latest
11
+ go tool cover -html=coverage.out
17
12
18
13
.PHONY : build
19
14
build :
You can’t perform that action at this time.
0 commit comments