summary

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package summary writes to the GitHub Actions job summary.

registry.json is stored on one line: nothing reads it by eye, and the indentation is 30% of the bytes every aqua user downloads while costing nothing in the repository, where git compresses it away. The indented form is written here instead, so that what a run produced can still be read when someone needs to.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer appends to the job summary. A Writer with no path does nothing, which is what happens outside GitHub Actions.

func New

func New() *Writer

New creates a Writer for the current job.

func (*Writer) Add

func (w *Writer) Add(pkgName string, versions map[string]any) error

Add writes one package's generated files to the summary, indented.

Jump to

Keyboard shortcuts

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