From 598ce820f30f83399dc25b63ac0dc9acce11cc0f Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Wed, 13 Dec 2023 00:20:16 +0300 Subject: [PATCH] update makefile --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7dcb1c23..ac4995a4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -GOLANGCI_LING_IMAGE="golangci/golangci-lint:v1.55.1-alpine" - .PHONY: * version=latest @@ -11,7 +9,7 @@ test: go test -tags mock -race -cover ./... lint: - docker run --rm -v ./:/app -w /app $(GOLANGCI_LING_IMAGE) golangci-lint run --color always ${args} + go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 run --color always ${args} lint-fix: make lint args=--fix