Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubActionsPrinter ¶ added in v0.9.1
type GitHubActionsPrinter struct {
// contains filtered or unexported fields
}
GitHubActionsPrinter prints the check results like TTYPrinter, and reports them to GitHub Actions: every issue becomes an annotation on the CODEOWNERS file, and the results are added to the job summary.
func NewGitHubActionsPrinter ¶ added in v0.9.1
func NewGitHubActionsPrinter(file, summaryPath string) *GitHubActionsPrinter
NewGitHubActionsPrinter returns a printer that reports issues as annotations on the given CODEOWNERS file and writes the job summary to summaryPath.
func (*GitHubActionsPrinter) PrintCheckResult ¶ added in v0.9.1
func (*GitHubActionsPrinter) PrintSummary ¶ added in v0.9.1
func (p *GitHubActionsPrinter) PrintSummary(allCheck, failedChecks int)
PrintSummary prints the summary, and then the annotations and the job summary for all checks, sorted by check name.
type TTYPrinter ¶
type TTYPrinter struct {
// contains filtered or unexported fields
}
func (*TTYPrinter) PrintCheckResult ¶
func (*TTYPrinter) PrintSummary ¶
func (*TTYPrinter) PrintSummary(allCheck, failedChecks int)