Documentation
¶
Overview ¶
Package ciworkflow scaffolds a starter GitHub Actions pipeline at `.github/workflows/ci.yml`. Three parallel jobs (lint, test, build) cover the same tasks `task lint`, `task test`, and `task build` run locally, so PR checks mirror the developer's `task` invocations one-to-one.
CI is intensely project-specific — matrices, deployment jobs, secrets management, release pipelines — so the file is scaffolded exactly once and then owned entirely by the team. `maestro refresh` never touches it.
Index ¶
Constants ¶
const RelativePath = ".github/workflows/ci.yml"
RelativePath is the path under the project root this package writes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CIWorkflow ¶
type CIWorkflow struct {
// contains filtered or unexported fields
}
CIWorkflow writes the starter GitHub Actions pipeline.
func New ¶
func New(rootPath string) *CIWorkflow
func (*CIWorkflow) Initialize ¶
func (c *CIWorkflow) Initialize() (bool, error)
Initialize writes .github/workflows/ci.yml when the project has none, and is a no-op when one already exists. Reports whether the file was created.