Skip to content

Commit

Permalink
ci: Don't fail fieldalignment on mock
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Oct 18, 2024
1 parent 0c9f990 commit 7258979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mocks:
go generate -run mockgen $(PACKAGES)
mockgen -destination pkg/mocks/io.go -package mocks -mock_names ReadCloser=ReadCloser io ReadCloser
mockgen -destination pkg/mocks/pgx.go -package mocks -mock_names Tx=Tx,Row=Row,Rows=Rows github.com/jackc/pgx/v5 Tx,Row,Rows
fieldalignment -fix -test=false $(PACKAGES)
fieldalignment -fix -test=false $(PACKAGES) || true # don't fail on the fix

## test: Shortcut to launch all the test tasks (unit, functional and integration).
.PHONY: test
Expand Down

0 comments on commit 7258979

Please sign in to comment.