Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Sep 15, 2023
1 parent 1972d30 commit 8e2a00c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: 'gostyle-action'
description: 'Run gostyle'
inputs:
setup-go:
description: "Set up Go"
required: false
default: false
go-version-input:
description: 'Version of Go to use for gostyle'
required: false
Expand Down Expand Up @@ -38,9 +42,10 @@ inputs:
runs:
using: "composite"
steps:
- if: inputs.repo-checkout != 'false' # only explicit false prevents repo checkout
- if: inputs.repo-checkout != 'false'
uses: actions/checkout@v4
- uses: actions/setup-go@v4
- if: inputs.setup-go != 'false'
uses: actions/setup-go@v4
with:
go-version: ${{ inputs.go-version-input }}
check-latest: ${{ inputs.check-latest }}
Expand Down

0 comments on commit 8e2a00c

Please sign in to comment.