Skip to content

Update GitHub Actions and golangci-lint to fix Node.js 20 deprecation warnings#7

Merged
bbrowning merged 3 commits intomainfrom
gh-actions-node-24
Apr 1, 2026
Merged

Update GitHub Actions and golangci-lint to fix Node.js 20 deprecation warnings#7
bbrowning merged 3 commits intomainfrom
gh-actions-node-24

Conversation

@bbrowning
Copy link
Copy Markdown
Owner

Node.js 20 will be removed from GitHub Actions runners on September 16,
2026. Update all actions to Node.js 24-compatible versions:

  • actions/checkout v4 → v6
  • actions/setup-go v5 → v6
  • golangci/golangci-lint-action v6 → v9
  • actions/upload-artifact v4 → v7
  • actions/download-artifact v4 → v8

Migrate golangci-lint from v1 to v2: add version field to config, remove
gosimple (merged into staticcheck) and typecheck (now built-in) linters.
Update pre-commit hook to golangci-lint v2.11.4.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

bbrowning and others added 3 commits April 1, 2026 14:26
… warnings

Node.js 20 will be removed from GitHub Actions runners on September 16,
2026. Update all actions to Node.js 24-compatible versions:
- actions/checkout v4 → v6
- actions/setup-go v5 → v6
- golangci/golangci-lint-action v6 → v9
- actions/upload-artifact v4 → v7
- actions/download-artifact v4 → v8

Migrate golangci-lint from v1 to v2: add version field to config, remove
gosimple (merged into staticcheck) and typecheck (now built-in) linters.
Update pre-commit hook to golangci-lint v2.11.4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tions

- Move gofmt and goimports from linters to formatters section (v2 requirement)
- Replace top-level linters-settings with formatters.settings
- Remove issues.exclude-use-default (not valid in v2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lusions

The v1 exclude-use-default option suppressed common false positives.
Restore equivalent behavior in v2 with exclusion presets, and exclude
gosec rules that are false positives for this project (dummy credentials,
config-driven file paths, logging config values).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bbrowning bbrowning merged commit 0846e2a into main Apr 1, 2026
6 checks passed
@bbrowning bbrowning deleted the gh-actions-node-24 branch April 1, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant