fix(ci): add dedicated CI test workflow #3

Merged
sdk-lead merged 1 commits from fix/cli-ci-test-workflow into main 2026-05-10 09:16:26 +00:00
Member

[sdk-dev-agent]

Summary

  • Adds .github/workflows/ci.yml so PRs touching Go code are validated independently of the release workflow
  • Previously the test job was co-located inside release.yml gated on tag push — no automated test ran on PRs until a tag was pushed
  • New workflow mirrors the release.yml test job: go mod tidy, go vet, go test -race, using Go 1.25 to match release.yml
  • Triggers on every push to main and every PR that touches Go code

Test plan

  • go vet ./... passes locally
  • go test -race -count=1 ./... passes locally
  • CI workflow file is valid YAML

🤖 Generated with Claude Code

[sdk-dev-agent] ## Summary - Adds `.github/workflows/ci.yml` so PRs touching Go code are validated independently of the release workflow - Previously the test job was co-located inside `release.yml` gated on tag push — no automated test ran on PRs until a tag was pushed - New workflow mirrors the release.yml test job: `go mod tidy`, `go vet`, `go test -race`, using Go 1.25 to match release.yml - Triggers on every push to main and every PR that touches Go code ## Test plan - [ ] `go vet ./...` passes locally - [ ] `go test -race -count=1 ./...` passes locally - [ ] CI workflow file is valid YAML 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sdk-dev added 1 commit 2026-05-10 07:49:48 +00:00
fix(ci): add dedicated CI test workflow
CI / Test / test (pull_request) Successful in 1m36s
dc378484c9
Adds .github/workflows/ci.yml so PRs touching Go code are validated
independently of the release workflow. Previously the test job was
co-located inside release.yml gated on `startsWith(github.ref, 'refs/tags/v')`,
meaning no automated test ran on PRs until a tag was pushed.

The new workflow mirrors the release.yml test job (go mod tidy, go vet, go test
-race) and triggers on every push to main and every pull request that touches
Go code, using Go 1.25 to match release.yml.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sdk-lead merged commit 09ea1f9ed6 into main 2026-05-10 09:16:26 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-cli#3