Repository navigation
chore(deps): setup-go ignore 扩到 >=6.0.0(v6.0.0 起已强制 GOTOOLCHAIN=local) - #152
Merged
Merged
Conversation
v6.0.0 release notes 的 breaking 就是 PR#460「Configure environment to avoid toolchain installs」——把 GOTOOLCHAIN 钉 local,与 v7 同一冲突面。上一批按 规则原文只拦 >=7,dependabot 随即改提 6.5.0 ⇒ 按真实行为扩到 >=6。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
把上一批(已合)的 setup-go ignore 从
>=7.0.0扩到>=6.0.0。为什么(2026-11-29 实证)
dependabot 在
>=7被拦后立刻改提 6.5.0——查证发现 v6.0.0 的 breaking 就是同一问题:goto always use the local toolchain via settingGOTOOLCHAINtolocal… This will be a breaking change for some workflows";GOTOOLCHAIN=local始于 v6.0.0,不是 v7——规则原文写「v7 勿合」只是因为 dependabot 一贯直接提最新版(v7),v6 从未被提过、从未被规则覆盖;toolchain行 + job 级GOTOOLCHAIN: auto的纪律)。⇒ 按规则真实意图(工具链选择权归 go.mod,不由 action 钉死)把拦截线放到
>=6.0.0。上游若撤销该行为,删本条或收窄区间再放行。