mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-10 14:32:11 +00:00
ci: install tools for renovate post-upgrade tasks (#38815)
Renovate installs a toolchain only for the managers a branch actually updates. A branch without a gomod update therefore has no `go` on `PATH`, and `make tidy` [fails](https://github.com/go-gitea/gitea/pull/38813#issuecomment-5211013198). Fix by installing those tools. `node` is not needed because it comes with renovate. --------- Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
@@ -19,6 +19,10 @@
|
|||||||
},
|
},
|
||||||
"postUpgradeTasks": {
|
"postUpgradeTasks": {
|
||||||
"commands": ["make tidy", "make svg", "make generate-codemirror-languages"],
|
"commands": ["make tidy", "make svg", "make generate-codemirror-languages"],
|
||||||
|
"installTools": {
|
||||||
|
"golang": {},
|
||||||
|
"pnpm": {},
|
||||||
|
},
|
||||||
"fileFilters": [
|
"fileFilters": [
|
||||||
"go.mod",
|
"go.mod",
|
||||||
"go.sum",
|
"go.sum",
|
||||||
|
|||||||
Reference in New Issue
Block a user