Repository navigation
feat: add self update and adopt Go 1.27, mise, Taskfile - #6
Merged
Merged
Conversation
Release jobs installed Go with setup-go while ci.yml read it from mise.toml, so two files owned the version. The nightly workflow is copied from arc and is what makes the nightly channel in argus self channel resolve to a tag.
The v*.*.* tag glob also matches rc and nightly tags, so every prerelease moved ghcr.io latest. The latest tag now requires a ref name without a hyphen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
argus can now update itself.
argus self updatedownloads the goreleaser tarball for the running platform, verifies it againstchecksums.txtand swaps the binary in place.argus self channel rcopts into release candidates. The wiring uses selfupdate-go v0.2.0-rc.1 with its pure GoArchiveInstaller, so no curl or bash is involved. The chosen channel lives in a one-line file under the user config dir because viper'sWriteConfigwould strip the comments from.argus.yaml.The toolchain moves to Go 1.27.1.
mise.tomlpins go, task, golangci-lint and goreleaser. A Taskfile replaces the Makefile and addscheck:versions, which fails when the mise pin and go.mod disagree. A new CI workflow runstask cion 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, thentask build && ./bin/argus self update --check.