ciworkflow

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 5 Imported by: 0

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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL