Skip to content

Commit 71d8dee

Browse files
committed
Install Go in prepare-test action
1 parent 429b71e commit 71d8dee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/actions/prepare-test/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ inputs:
1212
description: "If true, we setup kotlin"
1313
default: 'true'
1414
required: true
15+
setup-go:
16+
description: "If true, we setup go"
17+
default: 'true'
18+
required: true
1519
outputs:
1620
tools-url:
1721
description: "The value that should be passed as the 'tools' input of the 'init' step."
@@ -80,3 +84,8 @@ runs:
8084
if: ${{ inputs.setup-kotlin == 'true' }}
8185
with:
8286
version: 1.8.21
87+
88+
- uses: actions/setup-go@v5
89+
if: ${{ inputs.setup-go == 'true' }}
90+
with:
91+
go-version: ">=1.21.0"

0 commit comments

Comments
 (0)