Skip to content

Commit

Permalink
test change
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov committed Oct 24, 2024
1 parent 256e590 commit 8a39928
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,10 @@ pre-push:
go mod tidy
make lint
make test
make build
make build

.PHONY: test-changes
test-changes:
git diff --name-only --cached --diff-filter=ACM | grep -E '\.go$$' | xargs -n 1 gofmt -w
git diff --cached --name-only --diff-filter=ACM | grep -E '\.go$$' | xargs -n 1 go vet
git diff --cached --name-only --diff-filter=ACM | grep -E '\.go$$' | xargs -n 1 go test -v

0 comments on commit 8a39928

Please sign in to comment.