Skip to content

Commit fcf7c47

Browse files
committed
Explicitly setup a kotlin version
Change the `prepare-test` action to conditionally setup kotlin.
1 parent 7feb9a0 commit fcf7c47

37 files changed

+58
-6
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ inputs:
88
description: "If true, we output a tools URL with codeql-bundle.tar.gz file rather than platform-specific URL"
99
default: 'false'
1010
required: false
11+
setup-kotlin:
12+
description: "If true, we setup kotlin"
13+
default: 'true'
14+
required: true
1115
outputs:
1216
tools-url:
1317
description: "The value that should be passed as the 'tools' input of the 'init' step."
@@ -58,3 +62,8 @@ runs:
5862
echo "::error::Unrecognized version specified!"
5963
exit 1
6064
fi
65+
66+
- uses: fwilhe2/setup-kotlin@fa932efcc943c56bfd69ddace2e61129eb495d58
67+
if: ${{ inputs.setup-kotlin }} == "true"
68+
with:
69+
version: 1.7.21

.github/workflows/__all-platform-bundle.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__analyze-ref-input.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__autobuild-action.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__config-export.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__diagnostics-export.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__export-file-baseline-information.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__extractor-ram-threads.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-custom-queries.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__go-indirect-tracing-workaround-diagnostic.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)