Skip to content

Commit

Permalink
chore(build): makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 19, 2022
1 parent 439dbad commit 1917ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ cover: test
.PHONY: cover

fmt:
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofmt -w -s "$$file"; goimports -w "$$file"; done
gofumpt -w -l .
.PHONY: fmt

lint:
./bin/golangci-lint run ./...
golangci-lint run ./...
.PHONY: lint

ci: build test
Expand Down

0 comments on commit 1917ee3

Please sign in to comment.