Skip to content

ci: parallelize gates and centralize action tests in CLI#147

Merged
fahimfaisaal merged 5 commits into
mainfrom
ci/parallel-action-pipeline
Jun 24, 2026
Merged

ci: parallelize gates and centralize action tests in CLI#147
fahimfaisaal merged 5 commits into
mainfrom
ci/parallel-action-pipeline

Conversation

@fahimfaisaal

Copy link
Copy Markdown
Member

Summary

Restructures CI workflows for faster feedback and less duplication.

  • Parallel gates: lint, format, and test now run in parallel in cli.yml and ui.yml; downstream jobs wait for all three.
  • Centralized action testing: test-action.yml is renamed to action-ci.yml and invoked from cli.yml as the action job (3-OS matrix, act-compatible).
  • Removed redundancy: drops the standalone CLI build job (action-ci already builds) and removes the duplicate action-ci gate from all deploy-examples-* workflows.

Pipeline shape

lint  ─┐
format ─┼─→ action (action-ci.yml)
test  ─┘

Files changed

  • .github/workflows/cli.yml
  • .github/workflows/ui.yml
  • .github/workflows/action-ci.yml (renamed from test-action.yml)
  • .github/workflows/deploy-examples-*.yml (5 files)
  • Taskfile.yml (act paths)

Notes

Deploy workflows triggered by Release or workflow_dispatch no longer run action-ci first; CLI covers that on Go/action changes.

Run lint, format, and test in parallel in cli.yml and ui.yml, then gate
the action job on all three passing. Rename test-action.yml to
action-ci.yml and invoke it from CLI instead of duplicating a build step
or running it ahead of every deploy-examples workflow.

Update Taskfile act targets for the renamed workflow file.
@codecov-commenter

codecov-commenter commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/parser/parse_pattern.go 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Replace local -n in vizb-chart-flags.sh with eval + printf %q so the
composite action runs on macOS /bin/bash 3.2.
Update checkout, setup-node, pnpm, artifact, codecov, golangci-lint,
goreleaser, and cache actions across all workflows and action.yml.
golangci-lint-action v9 requires golangci-lint v2. Add a v2 config that
preserves v1 default exclusion presets and fix staticcheck findings.
@fahimfaisaal
fahimfaisaal merged commit f413acd into main Jun 24, 2026
13 checks passed
@fahimfaisaal
fahimfaisaal deleted the ci/parallel-action-pipeline branch June 24, 2026 14:40
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.

2 participants