chore: separate go minimum and build toolchain (#38559)

- split the go version in `go.mod` into `go` and `toolchain` again
- add a workaround for https://github.com/golang/go/issues/75331 so
`make tidy` never drops `toolchain`
- configure renovate to bump `go` on minor releases and `toolchain` on
every release
- go and toolchain bumps land in a separate, fast-tracked PR, as both
carry security fixes

Replaces: https://github.com/go-gitea/gitea/pull/37846
This commit is contained in:
silverwind
2026-07-22 19:26:55 +02:00
committed by GitHub
parent 48e067e4b3
commit ed5f254ee3
3 changed files with 17 additions and 2 deletions
+9 -1
View File
@@ -98,11 +98,19 @@
{
"matchManagers": ["gomod"],
"matchDepNames": ["go"],
"matchDepTypes": ["golang"],
"matchDepTypes": ["golang", "toolchain"], // fast-track go and toolchain in their own PR
"groupName": "golang",
"rangeStrategy": "bump",
"schedule": ["at any time"],
"minimumReleaseAge": "0",
},
{
"matchManagers": ["gomod"],
"matchDepNames": ["go"],
"matchDepTypes": ["golang"],
"matchUpdateTypes": ["patch", "major"], // go minimum bumps on minor only
"enabled": false,
},
{
"matchManagers": ["npm"],
"postUpdateOptions": ["pnpmDedupe"],