build: the fyne command pinned in go.mod, bundled.go regenerated on Renovate's branches #24
No reviewers
Labels
No labels
ansible
bug
ci
dependencies
digest
docker
documentation
duplicate
enhancement
fix
go
good first issue
help wanted
invalid
javascript
major
minor
patch
php
python
question
released
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dawid/taschenrechner!24
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-regenerate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fyne bundlewritespkg/ui/bundled.go, but nothing pinned its version and nothing checked the file, so it drifted unnoticed. This pins the command and keeps the file up to date on Renovate's branches.fyne.io/toolsis a tool ofgo.mod(v1.7.4), and thego:generatelines rungo tool fyne. Renovate now updates the command like any other module. This adds about 20 indirect requirements togo.mod.bundled.goas fyne bundle 1.7 writes it, with//go:embedinstead of byte literals. Generating it from scratch gives the same file.test.ymlrunsgo generate ./pkg/uiand fails whenbundled.godiffers from what is committed.regenerate.ymlruns on pushes torenovate/**. When the branch changesfyne.io/tools, it commits the newbundled.goasregenerate-bot, using dawid/ci-actions'renovate-regenerate.Tests and
go vetpass with theheadlesstag,go mod tidyis clean, andbundled.gopassesgo veton its own. The windowed UI wasn't built.Merge after HomeLab #121 is deployed: it publishes the action's
wheninput and gives the bot write access to this repository and itsREGENERATE_TOKENsecret. Until then the Regenerate workflow fails.