From b097c6eef1cd24ab6c0fa13ac07981e3b5cef24f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 26 May 2026 10:37:49 +0300 Subject: build: bump minimum Go version to 1.24.0 Updates go.mod from 1.21.0 to 1.24.0 because tests use testing.T.Chdir, which requires Go 1.24. Also fixes pre-existing fmt.Errorf non-constant format strings in task_selector.go that the printf vet analyzer flags when running go test with the newer minimum version. --- go.mod | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 6ae1d08..b6a8f3a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module codeberg.org/snonux/hexai -go 1.21.0 +go 1.24.0 toolchain go1.24.5 @@ -9,27 +9,27 @@ require github.com/magefile/mage v1.15.0 require ( github.com/charmbracelet/bubbles v0.18.0 github.com/charmbracelet/bubbletea v0.25.0 + github.com/charmbracelet/lipgloss v0.9.1 + github.com/mattn/go-runewidth v0.0.15 github.com/pelletier/go-toml/v2 v2.2.4 + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 + golang.org/x/sys v0.12.0 + golang.org/x/term v0.6.0 ) require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/charmbracelet/lipgloss v0.9.1 // indirect github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.15 // indirect github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect github.com/muesli/termenv v0.15.2 // indirect github.com/rivo/uniseg v0.4.6 // indirect - github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/sahilm/fuzzy v0.1.1-0.20230530133925-c48e322e2a8f // indirect golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.12.0 // indirect - golang.org/x/term v0.6.0 // indirect golang.org/x/text v0.3.8 // indirect ) -- cgit v1.2.3