super-linter, log for test client errors

This commit is contained in:
Mark Chmarny 2020-06-18 10:39:00 -07:00
parent a0346cda18
commit 5bb259d7ad
2 changed files with 7 additions and 3 deletions

View File

@ -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)

View File

@ -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)
}
}()