Skip to content

Commit

Permalink
fix: lint vs release branch instead of master (#2352)
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
  • Loading branch information
rbtr committed Jan 18, 2024
1 parent 7e442d5 commit 203b59c
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 @@ -695,7 +695,7 @@ clean: ## Clean build artifacts.
LINT_PKG ?= .

lint: $(GOLANGCI_LINT) ## Fast lint vs default branch showing only new issues.
GOGC=20 $(GOLANGCI_LINT) run --new-from-rev master --timeout 10m -v $(LINT_PKG)/...
GOGC=20 $(GOLANGCI_LINT) run --new-from-rev release/v1.4 --timeout 10m -v $(LINT_PKG)/...

lint-all: $(GOLANGCI_LINT) ## Lint the current branch in entirety.
GOGC=20 $(GOLANGCI_LINT) run -v $(LINT_PKG)/...
Expand Down

0 comments on commit 203b59c

Please sign in to comment.