chore: modernize Go 1.26, update deps, fix lint issues

- Update Go version from 1.19 to 1.26
- Update all dependencies to latest versions
- Fix staticcheck warnings (unused vars, types, functions)
- Remove unused svgToPng function
- Add GitHub Actions CI workflow
This commit is contained in:
2026-02-23 17:27:51 +00:00
parent b165dc219c
commit 8f8735d5a8
8 changed files with 160 additions and 355 deletions

View File

@@ -3,7 +3,6 @@ package ui
import (
"io"
"github.com/charmbracelet/bubbles/key"
"github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea"
)
@@ -49,15 +48,4 @@ func (s selectableDelegate) Render(w io.Writer, m list.Model, index int, item li
w.Write([]byte(str))
}
type delegateKeyMap struct {
toggle key.Binding
}
func newDelegateKeyMap() *delegateKeyMap {
return &delegateKeyMap{
toggle: key.NewBinding(
key.WithKeys(" "),
key.WithHelp("space", "choose"),
),
}
}
// delegateKeyMap and newDelegateKeyMap removed (unused)

View File

@@ -22,7 +22,6 @@ type (
AllRepos selectablelist
SelectedRepos []string
cursor SettingsCursor
highlightedEntry int
AuthorList list.Model
RepoList list.Model
}