ci: parallelize gates and centralize action tests in CLI#147
Merged
Conversation
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 Report❌ Patch coverage is
📢 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restructures CI workflows for faster feedback and less duplication.
lint,format, andtestnow run in parallel incli.ymlandui.yml; downstream jobs wait for all three.test-action.ymlis renamed toaction-ci.ymland invoked fromcli.ymlas theactionjob (3-OS matrix, act-compatible).buildjob (action-ci already builds) and removes the duplicateaction-cigate from alldeploy-examples-*workflows.Pipeline shape
Files changed
.github/workflows/cli.yml.github/workflows/ui.yml.github/workflows/action-ci.yml(renamed fromtest-action.yml).github/workflows/deploy-examples-*.yml(5 files)Taskfile.yml(act paths)Notes
Deploy workflows triggered by Release or
workflow_dispatchno longer runaction-cifirst; CLI covers that on Go/action changes.