Skip to content
code

GitHub Action

Setup Gator

v2.0.0 Latest version

Setup Gator

code

Setup Gator

Set up your GitHub Actions workflow with a specific version of Gatekeeper gator CLI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Gator

uses: minchao/[email protected]

Learn more about this action in minchao/setup-gator

Choose a version

Set up Gatekeeper gator CLI

build-test

Set up your GitHub Actions workflow with a specific version of Gatekeeper gator CLI.

Usage

Set up the workflow:

- uses: minchao/setup-gator@v2

default is the latest release.

Set up the workflow with a specific version:

- uses: minchao/setup-gator@v2
  with:
    version: 'v3.7.1'

To test the all unit test suites:

- uses: minchao/setup-gator@v2
- run: gator test ./...

License

The scripts and documentation in this project are released under the MIT License.