From 87d42d407d1aa5e8f947a404112d081212f3f5a6 Mon Sep 17 00:00:00 2001 From: Pantani Date: Mon, 18 Mar 2024 21:40:09 +0100 Subject: [PATCH] fix lint into the makefile --- .gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f73b26ba..efde200e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ *.ign go.work go.work.sum +bin/* \ No newline at end of file diff --git a/Makefile b/Makefile index 4b2d8295..175f0fac 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ govulncheck: lint: @command -v golangci-lint >/dev/null 2>&1 || { \ echo "Installing golangci-lint..."; \ - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(shell go env GOPATH)/bin; \ + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin; \ } @echo Running golangci-lint... @for dir in $$(find $$(pwd -P) -mindepth 1 -maxdepth 4 -type d); do \