Skip to content

Use official golangci-lint install script URL - #167

Merged
hanlaur merged 1 commit into
mainfrom
fix-golangci-install-url
Oct 3, 2026
Merged

hanlaur merged 1 commit into
mainfrom
fix-golangci-install-url

Conversation

@hanlaur

@hanlaur hanlaur commented Oct 3, 2026

Copy link
Copy Markdown
Owner

make install-tooling fails installing golangci-lint with a checksum verification error:

golangci/golangci-lint err hash_sha256_verify checksum for '.../golangci-lint-2.14.0-darwin-arm64.tar.gz' did not verify

The master branch of golangci-lint is no longer maintained. Its install.sh greps the checksums file without anchoring, so it also matches the *.tar.gz.sbom.json entries that releases have shipped since v2.12.1, and verification fails. Upstream fixed this on main in golangci/golangci-lint#6539 and recommends using https://golangci-lint.run/install.sh.

This PR switches the Makefile to that URL. I checked that it installs v2.14.0 on darwin/arm64 with checksum verification passing.

🤖 Generated with Claude Code

The master branch of golangci-lint is no longer maintained and its
install.sh fails checksum verification since releases started shipping
.sbom.json assets. Use https://golangci-lint.run/install.sh as
recommended upstream (see golangci/golangci-lint#6539).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@hanlaur
hanlaur merged commit 0ee73e7 into main Oct 3, 2026
8 of 9 checks passed
@hanlaur
hanlaur deleted the fix-golangci-install-url branch October 3, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址