From 3a913efb4193b5ca5db3e2e374ce02afc28d2c84 Mon Sep 17 00:00:00 2001 From: Julien Pinsonneau Date: Mon, 16 Dec 2024 11:42:35 +0100 Subject: [PATCH] skip dependencies check to force versions --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 6b3e70a4..d69e697d 100644 --- a/Makefile +++ b/Makefile @@ -76,14 +76,10 @@ prepare: mkdir -p tmp .PHONY: prereqs -prereqs: ## Test if prerequisites are met, and installing missing dependencies - @echo "### Test if prerequisites are met, and installing missing dependencies" -ifeq (, $(shell which golangci-lint)) +prereqs: ## Install dependencies + @echo "### Installing dependencies" GOFLAGS="" go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION} -endif -ifeq (, $(shell which yq)) GOFLAGS="" go install github.com/mikefarah/yq/v4@${YQ_VERSION} -endif .PHONY: vendors vendors: ## Refresh vendors directory.