From c008e4f0377388aac47fca5650c4288789f52771 Mon Sep 17 00:00:00 2001 From: Akash Chandra Date: Wed, 9 Oct 2024 16:22:38 +0530 Subject: [PATCH] fix langci --- .golangci.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index bc28dc6..1d7f58f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -63,5 +63,5 @@ issues: exclude-dirs: - testdata - .git - - schema + - schema/schemas diff --git a/Makefile b/Makefile index aefbf53..6122739 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ $(ACONFIG_BIN): $(SOURCES) $(GO_ENV_VARS) go build -ldflags="-X 'github.com/aerospike/asconfig/cmd.VERSION=$(VERSION)'" -o $(ACONFIG_BIN) . GOLANGCI_LINT ?= $(GOBIN)/golangci-lint -GOLANGCI_LINT_VERSION ?= v1.59.1 +GOLANGCI_LINT_VERSION ?= v1.61.0 .PHONY: golanci-lint golanci-lint: $(GOLANGCI_LINT) ## Download golangci-lint locally if necessary. @@ -41,7 +41,7 @@ $(GOLANGCI_LINT): $(GOBIN) curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) $(GOLANGCI_LINT_VERSION) go-lint: golanci-lint ## Run golangci-lint against code. - $(GOLANGCI_LINT) run -c .golangci.yml + $(GOLANGCI_LINT) run -c .golangci.yml -v # Clean up .PHONY: clean