{
  "schemaVersion": "ebb.rule.v1",
  "id": "github-actions.setup-go.node20",
  "ecosystem": "github-actions",
  "purl": "pkg:github/actions/setup-go",
  "affectedVersions": "vers:semver/<6.0.0",
  "event": "end-of-support",
  "severity": "high",
  "title": "Unsupported actions/setup-go runtime",
  "summary": "This release predates the action's Node.js 24 runtime. GitHub no longer provides Node.js 20 on Actions runners. Version 6.0.0 and 6.1.0 still declare node20; version 6.2.0 and later declare node24.",
  "replacement": "actions/setup-go@v6 or later",
  "deadline": "2026-09-23",
  "sources": [
    {
      "title": "Node 20 is no longer available in GitHub Actions",
      "url": "https://github.blog/changelog/2026-09-23-node-20-is-no-longer-available-in-github-actions/",
      "accessedAt": "2026-10-16"
    },
    {
      "title": "actions/setup-go v6.2.0 release notes (action.yml moves to node24)",
      "url": "https://github.com/actions/setup-go/releases/tag/v6.2.0",
      "accessedAt": "2026-10-16"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-16",
    "reviewedAt": "2026-10-16",
    "reviewer": "claude-agent"
  },
  "migration": {
    "constraints": [
      "Preserve the requested Go version, module cache, and architecture inputs when upgrading."
    ],
    "steps": [
      {
        "id": "upgrade-action-ref",
        "title": "Upgrade setup-go",
        "instructions": "Change the uses reference to actions/setup-go@v6 or a later supported major.",
        "targets": "declaration"
      },
      {
        "id": "review-action-inputs",
        "title": "Review setup-go inputs",
        "instructions": "Compare configured inputs with the target release and update renamed or changed options; confirm the runner meets the release's minimum version.",
        "targets": "declaration"
      }
    ],
    "verification": [
      {
        "command": "git diff --check",
        "purpose": "Validate the edited workflow diff."
      }
    ]
  }
}
