A GitHub action that installs goat and makes it available to your workflow.
Required The GitHub token used to fetch release information. You can use the built-in ${{ secrets.GITHUB_TOKEN }}.
Optional The version of goat to install. Defaults to latest.
Example values:
v1.4.0v1.5.0-beta.1
If not specified, the latest release will be installed.
name: Example Workflow
on:
- push
jobs:
setup-goat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup goat
uses: studio-b12/setup-goat@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
version: latest # or a specific version like v1.4.0
- name: Check goat version
run: goat --version