ci: pin golangci-lint go install to commit hash
Some checks failed
Check / check (pull_request) Failing after 5m31s

Pin golangci-lint to commit 5d1e709b7be35cb2025444e19de266b056b7b7ee
(v2.10.1) instead of version tag, matching the hash-pinning policy
for all external references.
This commit is contained in:
user
2026-02-20 03:08:39 -08:00
parent a94795fac6
commit 9e2e3fe9e9

View File

@@ -17,7 +17,7 @@ jobs:
go-version-file: go.mod
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@5d1e709b7be35cb2025444e19de266b056b7b7ee # v2.10.1
- name: Run make check
run: make check