Skip to content

Commit 1d3f469

Browse files
authored
extract version of go to input in action setup-go (kyma-project#35)
1 parent db89f8b commit 1d3f469

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
name: 'Setup go'
22
description: 'Action for the go setup'
33

4+
inputs:
5+
version:
6+
description: 'go version to checkout'
7+
required: true
8+
default: '1.22'
9+
410
runs:
511
using: 'composite'
612
steps:
713
- name: Setup go
814
uses: actions/setup-go@v5
915
with:
10-
go-version: '1.22'
16+
go-version: ${{ inputs.version }}

0 commit comments

Comments
 (0)