Skip to content

Commit

Permalink
Add lint to makefile (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
samanbarghi authored Apr 26, 2023
1 parent 8d901af commit c2aaaea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ update-dependencies:
@printf $(COLOR) "Update dependencies..."
@go get -u -t $(PINNED_DEPENDENCIES) ./...
@go mod tidy

lint:
@printf $(COLOR) "Run linters..."
@golangci-lint run --verbose --timeout 10m --fix=false --new-from-rev=HEAD~ --config=.golangci.yml


0 comments on commit c2aaaea

Please sign in to comment.