From 018f4ec19f5694a324e68a8d3196d4365a9beac6 Mon Sep 17 00:00:00 2001 From: Piotr Krzeminski Date: Fri, 22 May 2026 10:50:46 +0200 Subject: [PATCH] Migrate from CustomAction to typed bindings from bindings.krzeminski.it --- .github/workflows/ci.main.kts | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.main.kts b/.github/workflows/ci.main.kts index b432cc9..8d7295f 100755 --- a/.github/workflows/ci.main.kts +++ b/.github/workflows/ci.main.kts @@ -5,10 +5,13 @@ @file:Repository("https://bindings.krzeminski.it") @file:DependsOn("actions:checkout:v4") @file:DependsOn("actions:setup-java:v4") +@file:DependsOn("android-actions:setup-android:v3") +@file:DependsOn("codecov:codecov-action:v4") -import io.github.typesafegithub.workflows.domain.actions.CustomAction import io.github.typesafegithub.workflows.actions.actions.Checkout import io.github.typesafegithub.workflows.actions.actions.SetupJava +import io.github.typesafegithub.workflows.actions.androidactions.SetupAndroid_Untyped +import io.github.typesafegithub.workflows.actions.codecov.CodecovAction import io.github.typesafegithub.workflows.domain.Mode import io.github.typesafegithub.workflows.domain.Permission import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest @@ -54,11 +57,7 @@ workflow( ) uses( name = "Set up Android SDK", - action = CustomAction( - actionOwner = "android-actions", - actionName = "setup-android", - actionVersion = "v3", - ), + action = SetupAndroid_Untyped(), ) uses( name = "Set up JDK 8", @@ -85,11 +84,7 @@ workflow( run(name = "Build CLI", command = "./gradlew :cli:build") uses( name = "Upload coverage to Codecov", - action = CustomAction( - actionOwner = "codecov", - actionName = "codecov-action", - actionVersion = "v4", - ), + action = CodecovAction(), ) }