Skip to content

chore: add errorlint, dupl, revive to golangci-lint config #27

chore: add errorlint, dupl, revive to golangci-lint config

chore: add errorlint, dupl, revive to golangci-lint config #27

Triggered via pull request August 14, 2026 21:49
Status Failure
Total duration 5m 1s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: pkg/cmd/version/version.go#L56
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/sensor/download/download.go#L50
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/sensor/download/download.go#L39
unused-parameter: parameter 'f' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/root/root.go#L58
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/root/root.go#L53
unused-parameter: parameter 'version' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/root/root.go#L47
exported: type name will be used as root.RootOptions by other packages, and that stutters; consider calling this Options (revive)
lint: pkg/cmd/auth/config/config.go#L59
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cmd/auth/config/config.go#L38
exported: type name will be used as config.ConfigOptions by other packages, and that stutters; consider calling this Options (revive)
lint: pkg/cli/cli.go#L53
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/cli/cli.go#L107
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
build (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/