Context
This follow-up task was identified during the review of PR #122.
Source PR: #122
PR Title: feat: add CLI release workflow and Homebrew support
Suggested by: @claude[bot]
Task Description
The CLI release workflow currently builds and releases without running tests first. Add a test job that must pass before builds proceed.
Implementation
Add to .github/workflows/cli-release.yml:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- run: GOWORK=off go test -short ./internal/...
build:
needs: [test] # Add this dependency
# ... rest of build job
Benefits
- Prevents releasing broken code
- Catches regressions before they reach users
- Minimal overhead (tests run in parallel with build setup)
This issue was automatically created by prmonitor from PR review comments.
Context
This follow-up task was identified during the review of PR #122.
Source PR: #122
PR Title: feat: add CLI release workflow and Homebrew support
Suggested by: @claude[bot]
Task Description
The CLI release workflow currently builds and releases without running tests first. Add a test job that must pass before builds proceed.
Implementation
Add to
.github/workflows/cli-release.yml:Benefits
This issue was automatically created by prmonitor from PR review comments.