Documentation
¶
Overview ¶
Package cireport renders a CI step's outcome as markdown for the workflow job summary, so a reader sees what was built (and what failed, and how long it took) on the run page instead of expanding a log.
Rendering (Report.Markdown) performs no I/O and is what the tests cover; delivery is left to the caller (the actions write it with githubactions.AddStepSummary). It is a package, not another action, because reporting is logic shared between Go callers in one module — an action would mean serialising results to JSON and parsing them back.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
Name string
Status Status
Detail string // artifacts, an error, or the reason for a skip
Duration time.Duration // zero when not applicable
}
Item is one row: a component that was built, skipped or failed.
Click to show internal directories.
Click to hide internal directories.