build: add Makefile #4
coverage.yml
on: push
Go test with coverage
24s
Annotations
3 errors and 2 warnings
Go test with coverage:
examples/list.go#L9
main redeclared in this block
|
Go test with coverage:
examples/create.go#L9
other declaration of main
|
Go test with coverage
Error: Command failed with exit code 1: go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./pkg/... ./...
# github.com/HawAPI/go-sdk/examples
examples/list.go:9:6: main redeclared in this block
examples/create.go:9:6: other declaration of main
FAIL github.com/HawAPI/go-sdk/examples [build failed]
FAIL github.com/HawAPI/go-sdk/pkg/cache [build failed]
FAIL github.com/HawAPI/go-sdk/pkg/hawapi [build failed]
FAIL
|
Go test with coverage
Failed to run git fetch origin +refs/notes/gocoverage:refs/notes/gocoverage
|
Go test with coverage
Failed to run go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./pkg/... ./...
|