Skip to content

Add CI checks and static-binary release workflow#1

Merged
alyx merged 2 commits into
mainfrom
claude/static-binary-ci-release-573e5c
Jul 10, 2026
Merged

Add CI checks and static-binary release workflow#1
alyx merged 2 commits into
mainfrom
claude/static-binary-ci-release-573e5c

Conversation

@alyx

@alyx alyx commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a CI workflow that runs gofmt, go vet, go build, and go test -race on pushes to main and on pull requests.
  • Adds a release workflow triggered by v* tags: runs tests, builds fully static linux binaries for x86_64 and aarch64 (CGO_ENABLED=0, -trimpath -ldflags "-s -w", version stamped into internal/cli.Version), generates SHA256 checksums, and publishes everything as a GitHub release.

Test plan

  • Ran gofmt/vet/tests locally (all pass).
  • Cross-compiled both binaries locally; file confirms statically linked, stripped ELF executables for both architectures.
  • The v1.0.0 tag exercises the release workflow end-to-end.

🤖 Generated with Claude Code

alyx and others added 2 commits July 10, 2026 16:59
CI runs gofmt, go vet, build, and race-enabled tests on pushes and PRs.
The release workflow triggers on v* tags, builds static linux binaries
for x86_64 and aarch64 (CGO_ENABLED=0, version stamped via ldflags),
and publishes them with checksums as a GitHub release.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Clears the Node 20 deprecation annotation on workflow runs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alyx
alyx merged commit fb0ba67 into main Jul 10, 2026
1 check passed
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