Skip to content

Commit

Permalink
go-test.yml: allow for setting custom action
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Oct 28, 2024
1 parent f8c8e0f commit 80132d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
required: false
default: true
go-test-setup:
description: Enables/Disables the optional test setup step
type: boolean
description: Runs the specified action before the test job
type: string
required: false
default: false
default: ""

jobs:
test:
Expand All @@ -31,8 +31,8 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Test Setup # optional test setup step
uses: ./.github/actions/go-test-setup
if: ${{ inputs.go-test-setup }}
uses: ${{ inputs.go-test-setup }}
if: ${{ inputs.go-test-setup != '' }}
- uses: SiaFoundation/workflows/.github/actions/go-test@master
- name: Build
if: ${{ inputs.try-build }}
Expand Down

0 comments on commit 80132d8

Please sign in to comment.