actionsfmt

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

Actionsfmt

This is a small program that reads Go Test JSON output from its Stdin and formats it according to GitHub Actions rule.

Installation and Usage

go install marwan.io/actionsfmt@latest In an actions workflow:

  1. go install marwan.io/actionsfmt@latest
  2. run go test -json | actionsfmt

Or you can do it all in one line: go test -json | go run marwan.io/actionsfmt@latest

Documentation

Overview

Package actionsfmt helps run go commands that are pretty-formatted for GitHub actions. Currently it expects "go test" out of the box and formats it according to the GitHub Actions UI workflow commands: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions

Jump to

Keyboard shortcuts

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