Skip to content

feat: add self update and adopt Go 1.27, mise, Taskfile - #6

Merged
bfirestone merged 12 commits into
mainfrom
feat/go-update-and-self-update
Sep 9, 2026
Merged

bfirestone merged 12 commits into
mainfrom
feat/go-update-and-self-update

Conversation

@bfirestone

Copy link
Copy Markdown
Contributor

argus can now update itself. argus self update downloads the goreleaser tarball for the running platform, verifies it against checksums.txt and swaps the binary in place. argus self channel rc opts into release candidates. The wiring uses selfupdate-go v0.2.0-rc.1 with its pure Go ArchiveInstaller, so no curl or bash is involved. The chosen channel lives in a one-line file under the user config dir because viper's WriteConfig would strip the comments from .argus.yaml.

The toolchain moves to Go 1.27.1. mise.toml pins go, task, golangci-lint and goreleaser. A Taskfile replaces the Makefile and adds check:versions, which fails when the mise pin and go.mod disagree. A new CI workflow runs task ci on pull requests. The SQLite swap had left 23 lint findings that would have failed that gate. This branch clears them.

Verify locally with mise install && task ci, then task build && ./bin/argus self update --check.

@bfirestone
bfirestone merged commit b693d5b into main Sep 9, 2026
1 check passed
@bfirestone
bfirestone deleted the feat/go-update-and-self-update branch September 9, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant