diff --git a/Makefile b/Makefile index d250f979..68c01eb5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: build test bench docker +.PHONY: build test test-race bench docker build: CGO_ENABLED=0 go build -trimpath -o bin/ ./cmd/... @@ -6,6 +6,9 @@ build: test: go test ./... +test-race: + go test -race ./... + lint: golangci-lint run