0.2.2 • Published 3 years ago
gavi v0.2.2
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