Skip to content

Commit

Permalink
extract version of go to input in action setup-go (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoipm authored May 14, 2024
1 parent db89f8b commit 1d3f469
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: 'Setup go'
description: 'Action for the go setup'

inputs:
version:
description: 'go version to checkout'
required: true
default: '1.22'

runs:
using: 'composite'
steps:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: ${{ inputs.version }}

0 comments on commit 1d3f469

Please sign in to comment.