Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 856 Bytes

File metadata and controls

45 lines (29 loc) · 856 Bytes

studio-b12/setup-goat

A GitHub action that installs goat and makes it available to your workflow.

Inputs

github_token

Required The GitHub token used to fetch release information. You can use the built-in ${{ secrets.GITHUB_TOKEN }}.

version

Optional The version of goat to install. Defaults to latest.

Example values:

  • v1.4.0
  • v1.5.0-beta.1

If not specified, the latest release will be installed.

Usage

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