Skip to content

Commit

Permalink
Introduced a make all target that runs both test and linting
Browse files Browse the repository at this point in the history
Co-authored-by: Priya Selvaganesan <pselvaganesa@vmware.com>
  • Loading branch information
LukeWinikates and priyaselvaganesan committed Aug 31, 2023
1 parent 0944447 commit f23b6cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.PHONY: test godoc lint lint-fix
.PHONY: all test godoc lint lint-fix

all: test lint

test:
go test -timeout 10m -v -race ./...
Expand All @@ -15,4 +17,4 @@ lint:

lint-fix:
@scripts/golangci-lint-install-hint.sh
golangci-lint run --fix
golangci-lint run --fix

0 comments on commit f23b6cf

Please sign in to comment.