From 2b8f6f689558d64e8ac31e07489be225d76a78db Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 19 Feb 2026 16:56:24 -0800 Subject: [PATCH] fix lint checks to work with newest version of go --- .github/workflows/ci.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d432bc4..b4d388a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Install tools run: | go install golang.org/x/tools/cmd/goimports@latest - curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.8.0 + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0 - name: Build run: make all diff --git a/Makefile b/Makefile index a5099e1..2cbf08d 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ clean: install-tools: @echo "Installing Go tools to $(GOBIN)..." go install golang.org/x/tools/cmd/goimports@latest - curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v2.8.0 + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8.0 @echo "Installing signal-cli native binary..." @ARCH=$$(uname -m); \ case $$ARCH in \