mirror of https://github.com/dapr/go-sdk.git
super-linter, log for test client errors
This commit is contained in:
parent
a0346cda18
commit
5bb259d7ad
8
Makefile
8
Makefile
|
@ -24,8 +24,12 @@ client: mod ## Runs the uncompiled example client code
|
|||
--components-path example/client/comp \
|
||||
go run example/client/main.go
|
||||
|
||||
lint: ## Lints the entire project
|
||||
golangci-lint run --timeout=3m
|
||||
lint: ## Lints the entire project using GitHub super-linter
|
||||
docker run -e RUN_LOCAL=true \
|
||||
-e VALIDATE_ALL_CODEBASE=false \
|
||||
-e VALIDATE_GO=true \
|
||||
-v $(PWD):/tmp/lint admiralawkbar/super-linter
|
||||
# golangci-lint run --timeout=3m
|
||||
|
||||
tag: ## Creates release tag
|
||||
git tag $(RELEASE_VERSION)
|
||||
|
|
|
@ -42,7 +42,7 @@ func getTestClient(ctx context.Context) (client *Client, closer func()) {
|
|||
pb.RegisterDaprServer(s, server)
|
||||
go func() {
|
||||
if err := s.Serve(l); err != nil {
|
||||
panic(err)
|
||||
logger.Fatalf("error starting test server: %s", err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue