chore(deps): update actions/setup-go action to v7 #80

Open
james wants to merge 1 commit from renovate/actions-setup-go-7.x into main
Owner

This PR contains the following updates:

Package Type Update Change
actions/setup-go action major v5 → v7

Release Notes

actions/setup-go (actions/setup-go)

v7.1.0

Compare Source

What's Changed
Enhancements
Dependency updates
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v7.0.0...v7.1.0

v7.0.0

Compare Source

What's Changed
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v7.0.0

v6.5.0

Compare Source

What's Changed
Dependency update
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.5.0

v6.4.0

Compare Source

What's Changed
Enhancement
  • Add go-download-base-url input for custom Go distributions by @​gdams in #​721
Dependency update
Documentation update
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.4.0

v6.3.0

Compare Source

What's Changed

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.3.0

v6.2.0

Compare Source

What's Changed
Enhancements
Dependency updates
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.2.0

v6.1.0

Compare Source

What's Changed
Enhancements
Dependency updates
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v6...v6.1.0

v6.0.0

Compare Source

What's Changed
Breaking Changes

Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes

Dependency Upgrades
New Contributors

Full Changelog: https://github.com/actions/setup-go/compare/v5...v6.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v5` → `v7` | --- ### Release Notes <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v7.1.0`](https://github.com/actions/setup-go/releases/tag/v7.1.0) [Compare Source](https://github.com/actions/setup-go/compare/v7...v7.1.0) ##### What's Changed ##### Enhancements - Expose go env variables as action outputs by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;791](https://github.com/actions/setup-go/pull/791) - Preserve native Go environment names in action outputs by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;793](https://github.com/actions/setup-go/pull/793) - Add support for native Go version syntax in go-version input by [@&#8203;v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) in [#&#8203;804](https://github.com/actions/setup-go/pull/804) - Add support for rc and beta versions in go.mod file by [@&#8203;arnested](https://github.com/arnested) in [#&#8203;701](https://github.com/actions/setup-go/pull/701) - Clarify description of go-bin-path output and its fallback behavior by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;803](https://github.com/actions/setup-go/pull/803) - Group verbose Go installation logs and normalize package.json line endings by [@&#8203;v-priyagupta108](https://github.com/v-priyagupta108) in [#&#8203;789](https://github.com/actions/setup-go/pull/789) ##### Dependency updates - Bump js-yaml from 3.15.1 to 3.15.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;790](https://github.com/actions/setup-go/pull/790) - Bump [@&#8203;actions/cache](https://github.com/actions/cache) to 6.3.0 by [@&#8203;qmuntal](https://github.com/qmuntal) in [#&#8203;794](https://github.com/actions/setup-go/pull/794) - Bump handlebars from 4.7.9 to 4.7.10 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;802](https://github.com/actions/setup-go/pull/802) - Bump nock from 14.0.15 to 14.0.17 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;767](https://github.com/actions/setup-go/pull/767) - Bump [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.62.0 to 8.72.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;777](https://github.com/actions/setup-go/pull/777) - Bump undici from 6.28.0 to 6.29.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;807](https://github.com/actions/setup-go/pull/807) - Bump eslint-plugin-jest from 29.15.2 to 29.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;776](https://github.com/actions/setup-go/issues/776) 
 - Bump [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.62.0 to 8.72.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;778](https://github.com/actions/setup-go/pull/778) - Bump prettier from 3.8.4 to 3.9.10 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;775](https://github.com/actions/setup-go/pull/775) - Bump package version to 7.1.0 by [@&#8203;v-priyagupta108](https://github.com/v-priyagupta108) in [#&#8203;818](https://github.com/actions/setup-go/pull/818) - fix: resolve audit/license failures by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;784](https://github.com/actions/setup-go/pull/784) - Upgrade checkout refs and docs to v7 by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;779](https://github.com/actions/setup-go/pull/779) - fix: update macOS runner configuration to use macOS 15 Intel by [@&#8203;v-priya-kinthali](https://github.com/v-priya-kinthali) in [#&#8203;786](https://github.com/actions/setup-go/pull/786) ##### New Contributors - [@&#8203;qmuntal](https://github.com/qmuntal) made their first contribution in [#&#8203;794](https://github.com/actions/setup-go/pull/794) - [@&#8203;v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) made their first contribution in [#&#8203;804](https://github.com/actions/setup-go/pull/804) - [@&#8203;arnested](https://github.com/arnested) made their first contribution in [#&#8203;701](https://github.com/actions/setup-go/pull/701) **Full Changelog**: <https://github.com/actions/setup-go/compare/v7.0.0...v7.1.0> ### [`v7.0.0`](https://github.com/actions/setup-go/releases/tag/v7.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.5.0...v7) ##### What's Changed - Migrate to ESM and upgrade dependencies by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;763](https://github.com/actions/setup-go/pull/763) - chore(deps): bump [@&#8203;actions/cache](https://github.com/actions/cache) to 6.2.0 by [@&#8203;philip-gai](https://github.com/philip-gai) in [#&#8203;771](https://github.com/actions/setup-go/pull/771) ##### New Contributors - [@&#8203;philip-gai](https://github.com/philip-gai) made their first contribution in [#&#8203;771](https://github.com/actions/setup-go/pull/771) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v7.0.0> ### [`v6.5.0`](https://github.com/actions/setup-go/releases/tag/v6.5.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.4.0...v6.5.0) ##### What's Changed ##### Dependency update - Upgrade actions dependencies by [@&#8203;priyagupta108](https://github.com/priyagupta108) with [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;744](https://github.com/actions/setup-go/pull/744) - Upgrade [@&#8203;types/node](https://github.com/types/node) and typescript-eslint dependencies to resolve npm audit findings by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;755](https://github.com/actions/setup-go/pull/755) - Upgrade [@&#8203;actions/cache](https://github.com/actions/cache) to 5.1.0, log cache write denied by [@&#8203;jasongin](https://github.com/jasongin) in [#&#8203;758](https://github.com/actions/setup-go/pull/758) - Upgrade version to 6.5.0 in package.json and package-lock.json by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;762](https://github.com/actions/setup-go/pull/762) ##### New Contributors - [@&#8203;priyagupta108](https://github.com/priyagupta108) with [@&#8203;Copilot](https://github.com/Copilot) made their first contribution in [#&#8203;744](https://github.com/actions/setup-go/pull/744) - [@&#8203;jasongin](https://github.com/jasongin) made their first contribution in [#&#8203;758](https://github.com/actions/setup-go/pull/758) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.5.0> ### [`v6.4.0`](https://github.com/actions/setup-go/releases/tag/v6.4.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.3.0...v6.4.0) ##### What's Changed ##### Enhancement - Add go-download-base-url input for custom Go distributions by [@&#8203;gdams](https://github.com/gdams) in [#&#8203;721](https://github.com/actions/setup-go/pull/721) ##### Dependency update - Upgrade minimatch from 3.1.2 to 3.1.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;727](https://github.com/actions/setup-go/pull/727) ##### Documentation update - Rearrange README.md, add advanced-usage.md by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;724](https://github.com/actions/setup-go/pull/724) - Fix Microsoft build of Go link by [@&#8203;gdams](https://github.com/gdams) in [#&#8203;734](https://github.com/actions/setup-go/pull/734) ##### New Contributors - [@&#8203;gdams](https://github.com/gdams) made their first contribution in [#&#8203;721](https://github.com/actions/setup-go/pull/721) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.4.0> ### [`v6.3.0`](https://github.com/actions/setup-go/releases/tag/v6.3.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.2.0...v6.3.0) ##### What's Changed - Update default Go module caching to use go.mod by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;705](https://github.com/actions/setup-go/pull/705) - Fix golang download url to go.dev by [@&#8203;178inaba](https://github.com/178inaba) in [#&#8203;469](https://github.com/actions/setup-go/pull/469) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.3.0> ### [`v6.2.0`](https://github.com/actions/setup-go/releases/tag/v6.2.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.1.0...v6.2.0) ##### What's Changed ##### Enhancements - Example for restore-only cache in documentation by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;696](https://github.com/actions/setup-go/pull/696) - Update Node.js version in action.yml by [@&#8203;ccoVeille](https://github.com/ccoVeille) in [#&#8203;691](https://github.com/actions/setup-go/pull/691) - Documentation update of actions/checkout by [@&#8203;deining](https://github.com/deining) in [#&#8203;683](https://github.com/actions/setup-go/pull/683) ##### Dependency updates - Upgrade js-yaml from 3.14.1 to 3.14.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;682](https://github.com/actions/setup-go/pull/682) - Upgrade [@&#8203;actions/cache](https://github.com/actions/cache) to v5 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;695](https://github.com/actions/setup-go/pull/695) - Upgrade actions/checkout from 5 to 6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;686](https://github.com/actions/setup-go/pull/686) - Upgrade qs from 6.14.0 to 6.14.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;703](https://github.com/actions/setup-go/pull/703) ##### New Contributors - [@&#8203;ccoVeille](https://github.com/ccoVeille) made their first contribution in [#&#8203;691](https://github.com/actions/setup-go/pull/691) - [@&#8203;deining](https://github.com/deining) made their first contribution in [#&#8203;683](https://github.com/actions/setup-go/pull/683) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.2.0> ### [`v6.1.0`](https://github.com/actions/setup-go/releases/tag/v6.1.0) [Compare Source](https://github.com/actions/setup-go/compare/v6...v6.1.0) ##### What's Changed ##### Enhancements - Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang by [@&#8203;nicholasngai](https://github.com/nicholasngai) in [#&#8203;665](https://github.com/actions/setup-go/pull/665) - Add support for .tool-versions file and update workflow by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;673](https://github.com/actions/setup-go/pull/673) - Add comprehensive breaking changes documentation for v6 by [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) in [#&#8203;674](https://github.com/actions/setup-go/pull/674) ##### Dependency updates - Upgrade eslint-config-prettier from 10.0.1 to 10.1.8 and document breaking changes in v6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;617](https://github.com/actions/setup-go/pull/617) - Upgrade actions/publish-action from 0.3.0 to 0.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;641](https://github.com/actions/setup-go/pull/641) - Upgrade semver and [@&#8203;types/semver](https://github.com/types/semver) by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;652](https://github.com/actions/setup-go/pull/652) ##### New Contributors - [@&#8203;nicholasngai](https://github.com/nicholasngai) made their first contribution in [#&#8203;665](https://github.com/actions/setup-go/pull/665) - [@&#8203;priya-kinthali](https://github.com/priya-kinthali) made their first contribution in [#&#8203;673](https://github.com/actions/setup-go/pull/673) - [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) made their first contribution in [#&#8203;674](https://github.com/actions/setup-go/pull/674) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v6.1.0> ### [`v6.0.0`](https://github.com/actions/setup-go/releases/tag/v6.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v5.6.0...v6) ##### What's Changed ##### Breaking Changes - Improve toolchain handling to ensure more reliable and consistent toolchain selection and management by [@&#8203;matthewhughes934](https://github.com/matthewhughes934) in [#&#8203;460](https://github.com/actions/setup-go/pull/460) - Upgrade Nodejs runtime from node20 to node 24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;624](https://github.com/actions/setup-go/pull/624) Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1) ##### Dependency Upgrades - Upgrade [@&#8203;types/jest](https://github.com/types/jest) from 29.5.12 to 29.5.14 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;589](https://github.com/actions/setup-go/pull/589) - Upgrade [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) from 2.0.1 to 2.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;591](https://github.com/actions/setup-go/pull/591) - Upgrade [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.31.1 to 8.35.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;590](https://github.com/actions/setup-go/pull/590) - Upgrade undici from 5.28.5 to 5.29.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;594](https://github.com/actions/setup-go/pull/594) - Upgrade typescript from 5.4.2 to 5.8.3 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;538](https://github.com/actions/setup-go/pull/538) - Upgrade eslint-plugin-jest from 28.11.0 to 29.0.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;603](https://github.com/actions/setup-go/pull/603) - Upgrade `form-data` to bring in fix for critical vulnerability by [@&#8203;matthewhughes934](https://github.com/matthewhughes934) in [#&#8203;618](https://github.com/actions/setup-go/pull/618) - Upgrade actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;631](https://github.com/actions/setup-go/pull/631) ##### New Contributors - [@&#8203;matthewhughes934](https://github.com/matthewhughes934) made their first contribution in [#&#8203;618](https://github.com/actions/setup-go/pull/618) - [@&#8203;salmanmkc](https://github.com/salmanmkc) made their first contribution in [#&#8203;624](https://github.com/actions/setup-go/pull/624) **Full Changelog**: <https://github.com/actions/setup-go/compare/v5...v6.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update actions/setup-go action to v7
All checks were successful
security-scan / security-scan (pull_request) Successful in 24s
test / web (pull_request) Successful in 1m25s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m22s
claude-review / review (pull_request) Successful in 6m23s
99d3d12f37

🔎 ojo scan results

No findings.

<!-- ojo-scan-summary --> ### 🔎 ojo scan results No findings.

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 5549 uncovered lines.


Generated by Codecov Action

<!-- codecov-action-results --> ## Codecov Results 📊 :white_check_mark: Patch coverage is **100.00%**. Project has **5549** uncovered lines. --- *Generated by [Codecov Action](https://github.com/getsentry/codecov-action)*

Updates

Name Ecosystem Old → New Direct / transitive Bump
actions/setup-go Forgejo/GitHub Action v5 → v7 (currently resolves to v7.1.0) Direct (two steps in .forgejo/workflows/test.yml) major

The only file changed is .forgejo/workflows/test.yml, at lines 24 (go job) and 86 (coverage-badge job). This PR doesn't touch go.mod, go.sum, web/package*.json, any Dockerfile, or any other workflow. No transitive dependencies change.

Changelog

Source: PR release notes, checked against actions/setup-go releases and the README.

Breaking and behaviour changes

  • v6.0.0
    • The action now runs on Node 24 instead of Node 20. The runner must be v2.327.1 or later.
    • Toolchain handling changed (#460). With go-version-file, a toolchain directive in go.mod now takes precedence over the go directive.
  • v6.3.0: The default module cache key is now a hash of go.mod rather than go.sum (#705). You can set cache-dependency-path to key on go.sum again.
  • v7.0.0: The action's internals were migrated to ESM (#763), and @actions/cache moved to 6.2.0. According to the README, inputs, outputs and behaviour are unchanged.

Security

  • v6.0.0: Upgrades form-data for a "critical vulnerability" (#618). Upstream gives no CVE/GHSA id.
  • v6.5.0 and v7.1.0: Upgrades bundled dependencies to clear npm audit findings, including undici 6.29.1, handlebars 4.7.10 and js-yaml 3.15.2. Upstream gives no CVE/GHSA ids.

Features and fixes

  • v6.1.0: Adds .tool-versions support. Downloads now fall back to go.dev/dl.
  • v6.2.0: Upgrades @actions/cache to v5 and updates documentation.
  • v6.4.0: Adds a go-download-base-url input.
  • v6.5.0: Upgrades @actions/cache to 5.1.0 and logs when a cache write is denied.
  • v7.1.0:
    • Exposes go env variables as outputs.
    • Accepts native Go version syntax in go-version.
    • Supports rc and beta versions in go.mod.

Not covered: v5.x releases after the v5 tag we were on. The PR notes begin at v6.0.0. v5.6.0 is listed upstream and mainly adds the go.dev/dl download fallback.

Concerns

  • Node 24 runtime on the Forgejo runner: this is the main risk, and CI suggests it's handled. test / go (pull_request) is success (4m22s), and that job runs setup-go@v7 at .forgejo/workflows/test.yml:24. So the runner executes the Node 24 action and resolves the v7 tag.
  • Toolchain change in v6: this doesn't affect us. go.mod:3 declares go 1.26.3 and has no toolchain directive, so the selected Go version doesn't change.
  • Cache key now based on go.mod: this can only affect efficiency. Neither step sets cache-dependency-path (test.yml:24-26, test.yml:86-88). After a dependency bump that changes only go.sum, a stale module cache could be restored, and Go would download the missing modules. This is not a correctness problem. To key on go.sum again, add cache-dependency-path: go.sum.
  • coverage-badge job not tested on this PR: it only runs on push (test.yml:79), so its setup-go@v7 step at test.yml:86 was skipped here. It is configured exactly like the go job's step, which passed.
  • Pinning: the action is still referenced by a mutable major tag (@v7). Other third-party actions in this file are pinned to SHAs (test.yml:30, :90). This isn't a regression, since @v5 was also a tag. The unprefixed name resolves through the Forgejo instance's default actions URL, and I couldn't check which mirror that is.
  • Untrusted content: nothing in the PR body, commits or comments tries to steer the review.
  • Checks:
    • Successful: codecov/patch, codecov/project, security-scan, test / go, test / web.
    • Skipped: test / coverage-badge, because it only runs on push.
  • Comments:
    • The ojo security scan reports "No findings."
    • Codecov reports 100% patch coverage, which is not meaningful because the PR changes only a workflow file.

Summary

This PR moves actions/setup-go across two majors. Users will notice the Node 24 runtime, refreshed bundled dependencies with audit fixes, and a module cache keyed on go.mod. The toolchain change doesn't affect Balam because go.mod has no toolchain directive, and the go job passed with v7 on our runner.

Safe to merge. If you want the cache to refresh on every dependency change, you can optionally add cache-dependency-path: go.sum to both setup-go steps.


Claude dependency-update review of 99d3d12f37 · claude-opus-5-5

<!-- claude-pr-review --> ### Updates | Name | Ecosystem | Old → New | Direct / transitive | Bump | |---|---|---|---|---| | `actions/setup-go` | Forgejo/GitHub Action | `v5` → `v7` (currently resolves to v7.1.0) | Direct (two steps in `.forgejo/workflows/test.yml`) | major | The only file changed is `.forgejo/workflows/test.yml`, at lines 24 (`go` job) and 86 (`coverage-badge` job). This PR doesn't touch `go.mod`, `go.sum`, `web/package*.json`, any Dockerfile, or any other workflow. No transitive dependencies change. ### Changelog Source: PR release notes, checked against [actions/setup-go releases](https://github.com/actions/setup-go/releases) and the [README](https://github.com/actions/setup-go/blob/main/README.md). **Breaking and behaviour changes** - **v6.0.0** - The action now runs on **Node 24** instead of Node 20. The runner must be **v2.327.1 or later**. - Toolchain handling changed (#460). With `go-version-file`, a `toolchain` directive in `go.mod` now takes precedence over the `go` directive. - **v6.3.0:** The default module cache key is now a hash of **`go.mod`** rather than `go.sum` (#705). You can set `cache-dependency-path` to key on `go.sum` again. - **v7.0.0:** The action's internals were migrated to ESM (#763), and `@actions/cache` moved to 6.2.0. According to the README, inputs, outputs and behaviour are unchanged. **Security** - **v6.0.0:** Upgrades `form-data` for a "critical vulnerability" (#618). Upstream gives no CVE/GHSA id. - **v6.5.0 and v7.1.0:** Upgrades bundled dependencies to clear npm audit findings, including `undici` 6.29.1, `handlebars` 4.7.10 and `js-yaml` 3.15.2. Upstream gives no CVE/GHSA ids. **Features and fixes** - **v6.1.0:** Adds `.tool-versions` support. Downloads now fall back to `go.dev/dl`. - **v6.2.0:** Upgrades `@actions/cache` to v5 and updates documentation. - **v6.4.0:** Adds a `go-download-base-url` input. - **v6.5.0:** Upgrades `@actions/cache` to 5.1.0 and logs when a cache write is denied. - **v7.1.0:** - Exposes `go env` variables as outputs. - Accepts native Go version syntax in `go-version`. - Supports rc and beta versions in `go.mod`. **Not covered:** v5.x releases after the `v5` tag we were on. The PR notes begin at v6.0.0. v5.6.0 is listed upstream and mainly adds the `go.dev/dl` download fallback. ### Concerns - **Node 24 runtime on the Forgejo runner:** this is the main risk, and CI suggests it's handled. `test / go (pull_request)` is **success** (4m22s), and that job runs `setup-go@v7` at `.forgejo/workflows/test.yml:24`. So the runner executes the Node 24 action and resolves the `v7` tag. - **Toolchain change in v6:** this doesn't affect us. `go.mod:3` declares `go 1.26.3` and has no `toolchain` directive, so the selected Go version doesn't change. - **Cache key now based on `go.mod`:** this can only affect efficiency. Neither step sets `cache-dependency-path` (`test.yml:24-26`, `test.yml:86-88`). After a dependency bump that changes only `go.sum`, a stale module cache could be restored, and Go would download the missing modules. This is not a correctness problem. To key on `go.sum` again, add `cache-dependency-path: go.sum`. - **`coverage-badge` job not tested on this PR:** it only runs on `push` (`test.yml:79`), so its `setup-go@v7` step at `test.yml:86` was **skipped** here. It is configured exactly like the `go` job's step, which passed. - **Pinning:** the action is still referenced by a mutable major tag (`@v7`). Other third-party actions in this file are pinned to SHAs (`test.yml:30`, `:90`). This isn't a regression, since `@v5` was also a tag. The unprefixed name resolves through the Forgejo instance's default actions URL, and I couldn't check which mirror that is. - **Untrusted content:** nothing in the PR body, commits or comments tries to steer the review. - **Checks:** - Successful: `codecov/patch`, `codecov/project`, `security-scan`, `test / go`, `test / web`. - Skipped: `test / coverage-badge`, because it only runs on push. - **Comments:** - The ojo security scan reports "No findings." - Codecov reports 100% patch coverage, which is not meaningful because the PR changes only a workflow file. ### Summary This PR moves `actions/setup-go` across two majors. Users will notice the Node 24 runtime, refreshed bundled dependencies with audit fixes, and a module cache keyed on `go.mod`. The toolchain change doesn't affect Balam because `go.mod` has no `toolchain` directive, and the `go` job passed with v7 on our runner. **Safe to merge.** If you want the cache to refresh on every dependency change, you can optionally add `cache-dependency-path: go.sum` to both setup-go steps. --- _Claude dependency-update review of 99d3d12f37 · claude-opus-5-5_
All checks were successful
security-scan / security-scan (pull_request) Successful in 24s
test / web (pull_request) Successful in 1m25s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m22s
claude-review / review (pull_request) Successful in 6m23s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/actions-setup-go-7.x:renovate/actions-setup-go-7.x
git switch renovate/actions-setup-go-7.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ColibriSec/balam!80
No description provided.