File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -259,9 +259,8 @@ install-yq: $(YQ) ## Download yq locally if necessary
259
259
$(YQ ) : $(LOCALBIN )
260
260
test -s $(LOCALBIN ) /yq || GOBIN=$(LOCALBIN ) go install github.com/mikefarah/yq/v4@$(YQ_VERSION )
261
261
262
- .PHONY : install-golangci-lint
263
- install-yq : $(YQ ) # # Download golangci-lint locally if necessary
264
- $(GOLANGCI_LINT ) : $(LOCALBIN )
262
+ .PHONY : install-golint
263
+ install-golint : $(LOCALBIN )
265
264
test -s $(LOCALBIN ) /golangci-lint || GOBIN=$(LOCALBIN ) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION )
266
265
267
266
.PHONY : envtest
@@ -389,7 +388,7 @@ verify-imports: openshift-goimports ## Run import verifications.
389
388
./hack/verify-imports.sh $(OPENSHIFT-GOIMPORTS )
390
389
391
390
.PHONY : lint
392
- lint : $( GOLANGCI_LINT ) # # Run golangci-lint linter
391
+ lint : install-golint # # Run golangci-lint linter
393
392
$(GOLANGCI_LINT ) run
394
393
395
394
.PHONY : image-mnist-job-test-build
You can’t perform that action at this time.
0 commit comments