Skip to content

feat: Add update and version commands #32

feat: Add update and version commands

feat: Add update and version commands #32

Triggered via pull request March 10, 2026 15:57
@liamgliamg
synchronize #13
update-cmd
Status Failure
Total duration 1m 22s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: internal/cmds/version.go#L16
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/cmds/version.go#L11
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/cmds/update.go#L9
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/update/update.go#L197
G302: Expect file permissions to be 0600 or less (gosec)
golangci-lint: internal/update/update.go#L198
Error return value of `os.Remove` is not checked (errcheck)
golangci-lint: internal/update/update.go#L193
Error return value of `os.Remove` is not checked (errcheck)
golangci-lint: internal/update/update.go#L189
Error return value of `os.Remove` is not checked (errcheck)
golangci-lint: internal/update/update.go#L188
Error return value of `tmp.Close` is not checked (errcheck)
golangci-lint: internal/update/update.go#L162
Error return value of `rc.Close` is not checked (errcheck)
golangci-lint: internal/update/update.go#L133
Error return value of `gz.Close` is not checked (errcheck)
mocks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, infracost/create-github-app-token@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
golangci-lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, infracost/create-github-app-token@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/