From d63a440f63632222dc4f2d2280d492342c56500d Mon Sep 17 00:00:00 2001 From: Ivan Godwin Date: Sat, 18 Jul 2026 09:51:26 -0700 Subject: [PATCH] ci: install golangci-lint via go install (sumdb-verified) The official install.sh tarball download hit sha256 checksum mismatches on the self-hosted runner; the module proxy path is verifiable and reproducible. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a6e219d..5a1db4c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -44,10 +44,12 @@ jobs: export PATH="$PATH:$(go env GOPATH)/bin" make proto-gen + # Installed via `go install` (module proxy + sumdb verification): the + # official install.sh tarball download hit checksum mismatches on this + # runner. - name: Run golangci-lint run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \ - sh -s -- -b "$(go env GOPATH)/bin" v2.12.2 + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 "$(go env GOPATH)/bin/golangci-lint" run ./... test: