GitHub Action¶
Gremlins can be used in GitHub Actions through the official Run gremlins unleash action.
Example usage¶
name: gremlins
on:
pull_request:
push:
jobs:
gremlins:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: go-gremlins/gremlins-action@v1
with:
version: latest
args: --tags="tag1,tag2"
workdir: test/dir
Customization¶
Name | Type | Default | Description |
---|---|---|---|
version 1 |
string |
latest |
Te version of Gremlins to use |
args |
string |
The command line arguments to pass to gremlins unleash |
|
workdir |
string |
. |
Working directory relative to repository root |
-
Can be
latest
, a fixed version likev0.1.2
or a semver range like~0.2
. In this case this will returnv0.2.2
. ↩