File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 version : v1.64.3
3434 args : --out-format=colored-line-number
3535 working-directory : ${{matrix.working-directory}}
36- - name : Lint API
37- run : GOLANGCI_LINT_EXTRA_ARGS=--out-format=colored-line-number make lint-api
Original file line number Diff line number Diff line change @@ -650,12 +650,11 @@ generate-test-infra-prowjobs: $(PROWJOB_GEN) ## Generates the prowjob configurat
650650# #@ lint and verify:
651651
652652.PHONY : lint
653- lint : $(GOLANGCI_LINT ) $( GOLANGCI_LINT_KAL ) # # Lint the codebase
653+ lint : $(GOLANGCI_LINT ) # # Lint the codebase. note lint-api must be run as a separated step
654654 $(GOLANGCI_LINT ) run -v $(GOLANGCI_LINT_EXTRA_ARGS )
655655 cd $(TEST_DIR ) ; $(GOLANGCI_LINT ) run --path-prefix $(TEST_DIR ) --config $(ROOT_DIR ) /.golangci.yml -v $(GOLANGCI_LINT_EXTRA_ARGS )
656656 cd $(TOOLS_DIR ) ; $(GOLANGCI_LINT ) run --path-prefix $(TOOLS_DIR ) --config $(ROOT_DIR ) /.golangci.yml -v $(GOLANGCI_LINT_EXTRA_ARGS )
657657 ./scripts/lint-dockerfiles.sh $(HADOLINT_VER ) $(HADOLINT_FAILURE_THRESHOLD )
658- $(GOLANGCI_LINT_KAL ) run -v --config $(ROOT_DIR ) /.golangci-kal.yml $(GOLANGCI_LINT_EXTRA_ARGS )
659658
660659.PHONY : lint-dockerfiles
661660lint-dockerfiles :
You can’t perform that action at this time.
0 commit comments