Skip to content

Commit 66f7a98

Browse files
committed
ci: build Kotlin scripts
1 parent dd9d6ab commit 66f7a98

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/build.main.kts

+9
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,13 @@ workflow(
3333
uses(CheckoutV3())
3434
uses(GithubActionsTypingV0())
3535
}
36+
37+
job(
38+
id = "build_kotlin_scripts",
39+
name = "Build Kotlin scripts",
40+
runsOn = RunnerType.UbuntuLatest,
41+
) {
42+
uses(CheckoutV3())
43+
run("find -name '*.main.kts' | xargs kotlinc")
44+
}
3645
}.writeToFile()

.github/workflows/build.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,13 @@ jobs:
4343
uses: actions/checkout@v3
4444
- id: step-1
4545
uses: krzema12/github-actions-typing@v0
46+
"build_kotlin_scripts":
47+
name: Build Kotlin scripts
48+
runs-on: "ubuntu-latest"
49+
needs:
50+
- "check_yaml_consistency"
51+
steps:
52+
- id: step-0
53+
uses: actions/checkout@v3
54+
- id: step-1
55+
run: find -name '*.main.kts' | xargs kotlinc

0 commit comments

Comments
 (0)