-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(abg)!: replace data class perks by code generation in bindings
- Loading branch information
Showing
41 changed files
with
3,800 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/test-script-consuming-jit-bindings-v1.main.do-not-compile.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
.github/workflows/test-script-consuming-jit-bindings-v2.main.do-not-compile.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env kotlin | ||
@file:Repository("https://repo.maven.apache.org/maven2/") | ||
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.0.0") | ||
|
||
@file:Repository("http://localhost:8080/v2") | ||
|
||
// Regular, top-level action. | ||
@file:DependsOn("actions:checkout:v4") | ||
|
||
// Nested action. | ||
@file:DependsOn("gradle:actions__setup-gradle:v3") | ||
|
||
// Using specific version. | ||
@file:DependsOn("actions:cache:v3.3.3") | ||
|
||
// Always untyped action. | ||
@file:DependsOn("typesafegithub:always-untyped-action-for-tests:v1") | ||
|
||
import io.github.typesafegithub.workflows.actions.actions.Cache | ||
import io.github.typesafegithub.workflows.actions.actions.Checkout | ||
import io.github.typesafegithub.workflows.actions.actions.Checkout_Untyped | ||
import io.github.typesafegithub.workflows.actions.gradle.ActionsSetupGradle | ||
import io.github.typesafegithub.workflows.actions.typesafegithub.AlwaysUntypedActionForTests_Untyped | ||
|
||
println(Checkout_Untyped(fetchTags_Untyped = "false")) | ||
println(Checkout(fetchTags = false)) | ||
println(Checkout(fetchTags_Untyped = "false")) | ||
println(AlwaysUntypedActionForTests_Untyped(foobar_Untyped = "baz")) | ||
println(ActionsSetupGradle()) | ||
println(Cache(path = listOf("some-path"), key = "some-key")) | ||
|
||
// Ensure that 'copy(...)' method is exposed. | ||
Checkout(fetchTags = false).copy(fetchTags = true) |
2 changes: 1 addition & 1 deletion
2
.github/workflows/test-script-consuming-jit-bindings.main.do-not-compile.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.