Speedup pre-commit #1038

Merged
fyrchik merged 3 commits from fyrchik/frostfs-node:fix-precommit into master 2024-03-12 18:07:29 +00:00
Showing only changes of commit f64fff8926 - Show all commits

View file

@ -168,9 +168,10 @@ fumpt:
@gofumpt -l -w cmd/ pkg/ misc/
# Run Unit Test with go test
test: GOFLAGS ?= "-count=1"
test:
@echo "⇒ Running go test"
@go test ./... -count=1
@GOFLAGS="$(GOFLAGS)" go test ./...
# Run pre-commit
pre-commit-run: