Skip to content

fix: upgrade golangci-lint to v2.11.1 for Go 1.26.1 support #278

fix: upgrade golangci-lint to v2.11.1 for Go 1.26.1 support

fix: upgrade golangci-lint to v2.11.1 for Go 1.26.1 support #278

Triggered via push March 11, 2026 21:05
Status Failure
Total duration 3m 3s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: internal/cli/deploy_approvals_shared.go#L36
G115: integer overflow conversion uintptr -> int (gosec)
lint: internal/cli/cli_web.go#L63
G204: Subprocess launched with variable (gosec)
lint: internal/cli/cli_web.go#L61
G204: Subprocess launched with variable (gosec)
lint: internal/cli/cli_web.go#L59
G204: Subprocess launched with variable (gosec)
lint: cmd/mock-convox/helpers.go#L46
G101: Potential hardcoded credentials: Password in URL (gosec)
lint: cmd/mock-convox/handlers_objects.go#L75
G703: Path traversal via taint analysis (gosec)
lint: cmd/mock-convox/handlers_objects.go#L28
G703: Path traversal via taint analysis (gosec)
lint: cmd/mock-convox/handlers_objects.go#L20
G703: Path traversal via taint analysis (gosec)
lint: cmd/gateway/main.go#L49
G706: Log injection via taint analysis (gosec)
lint: internal/gateway/auth/mfa/webauthn.go#L368
deprecatedComment: `Deprecated: ` notices should be in a dedicated paragraph, separated from the rest (gocritic)
mock-oauth-tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v2. 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/
go-tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. 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/
web-tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, oven-sh/setup-bun@v2. 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/
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v8. 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/