mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 21:01:31 +00:00
fix(ci): upgrade golangci-lint v1.62.2 to v2.11.4 for Go 1.25 support
The old v1 binary was built with Go 1.23 and rejected Go 1.25 targets. Migrated .golangci.yml to v2 format: added version field, moved linters-settings under linters.settings, removed deprecated linters (structcheck/deadcode/varcheck), merged gosimple into staticcheck. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
- name: Install golangci-lint
|
||||
run: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.11.4
|
||||
|
||||
- name: Run golangci-lint
|
||||
run: golangci-lint run ./... --timeout 5m
|
||||
|
||||
Reference in New Issue
Block a user