0.2.2 • Published 3 years ago

gavi v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

What's gavi

gavi is GitHub Actions workflow and action metadata (= action.yaml) validator.
Validate the syntax using the following JSON schema:

Install

npm i -g gavi

or

yarn global add gavi

Usage

Usage: gavi <command> [options]

Commands:
  gavi action <filename>    Validate GitHub Actions metadata file
  gavi workflow <filename>  Validate GitHub Actions workflow file

Options:
  -f, --format    The output format is json or table if validation error is
                  found   [string] [choices: "json", "table"] [default: "table"]
  -l, --logLevel  Logging level
          [string] [choices: "DEBUG", "INFO", "WARN", "ERROR"] [default: "INFO"]
  -s, --silent    Suppress logging message            [boolean] [default: false]
      --version   Show version number                                  [boolean]
      --help      Show help                                            [boolean]

Example

Failed validation

gavi workflow __tests__/fixtures/incorrect-workflow.yaml

Result

failed validation

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago