Skip to content

Add CI and tagged release workflows - #15

Merged
thaodangspace merged 2 commits into
mainfrom
issue-8-ci-release
Aug 5, 2026
Merged

Add CI and tagged release workflows#15
thaodangspace merged 2 commits into
mainfrom
issue-8-ci-release

Conversation

@thaodangspace

Copy link
Copy Markdown
Owner

Closes #8

Summary

  • add macOS Go CI for formatting, vet, tests, race tests, and amd64/arm64 builds
  • add Node 22 documentation CI with npm cache and short-lived build artifact
  • add least-privilege tagged GoReleaser releases with checksums, SBOMs, Homebrew token validation, and artifact provenance
  • make make check include the CLI build

Verification

  • make check
  • make test-race
  • make docs-build
  • make snapshot

@thaodangspace thaodangspace left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One release-safety issue to address:

The PR CI never validates the newly changed GoReleaser configuration or the release workflow path. The successful CI run only covers Go checks and the docs build, so errors in sboms, the Homebrew publisher, or the release command will first surface after pushing a v* tag—at which point the release may already be partially published.

Please add a non-publishing PR check such as goreleaser check plus goreleaser release --snapshot --clean (with the Homebrew publisher disabled/skipped for snapshots if necessary). This will make the release configuration testable before a tag is created.

@thaodangspace

Copy link
Copy Markdown
Owner Author

Addressed in commit 9fca35b:

  • added a PR release-config job running GoReleaser check and a non-publishing release --snapshot --clean
  • installed Syft in CI so snapshot SBOM generation is exercised
  • migrated the deprecated Homebrew Formula publisher to homebrew_casks

Local validation: goreleaser check and make snapshot pass.

@thaodangspace
thaodangspace merged commit d225fc1 into main Aug 5, 2026
3 checks 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.

Add GitHub Actions CI and tag-based GoReleaser publishing

1 participant