Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
code

GitHub Action

Setup Gator

v1.0.0

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@v1

default is the latest release.

Set up the workflow with a specific version:

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

To test the all unit test suites:

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

License

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