Update golangci-lint to v2.1.6 and fix linting errors #24
lint.yml
on: pull_request
golangci-lint
18s
go vet
19s
Annotations
2 errors and 2 warnings
|
golangci-lint
invalid version string 'v2.1.6', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7.
|
|
golangci-lint
Failed to run: Error: invalid version string 'v2.1.6', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7., Error: invalid version string 'v2.1.6', golangci-lint v2 is not supported by golangci-lint-action v6, you must update to golangci-lint-action v7.
at parseVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93219:15)
at getRequestedVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93269:36)
at getVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:93307:24)
at install (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:92510:56)
at prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:92827:49)
|
|
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
|
go vet
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|