github-workflows-kt
github-workflows-kt copied to clipboard
Authoring GitHub Actions workflows in Kotlin. You won't go back to YAML!
Here https://github.com/typesafegithub/github-workflows-kt/blob/77d8c4ebd6c8bbc533a381e9d14c2b9a8992aa34/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/GenerateActionBindingsCliHelper.kt#L43 we iterate sequentially. Since subsequent iterations don't depend on each other, we can parallelize it. I think processing 5 actions at once is a good starting point. It...
1. We still use prints instead of proper logging. It doesn't allow us to differentiate logging levels. It would be useful. 2. Some logs lack info, especially now when we...
For starters, add a migration guide from the old approach. Later, use the new approach as the default one.
Ticket on the Kotlin side: https://youtrack.jetbrains.com/issue/KT-63418/
See: * https://kotlinlang.slack.com/archives/C02UUATR7RC/p1674211088336319?thread_ts=1674207463.128059&cid=C02UUATR7RC * https://kotlinlang.slack.com/archives/C02UUATR7RC/p1674215445874089?thread_ts=1674207463.128059&cid=C02UUATR7RC
Try the EAP release and see if there are any issues. - [x] install Kotlin 2.0 locally and try to use it via the shebang to regenerate workflows in this...
In the current implementation, requesting actions to generate bindings for is done via a dummy workflow in YAML. Thanks to this, we can support dependency updating bots and let them...
Some projects may need to depend on more than one version. With bundled bindings, it's possible by using more than one class, e.g. `CheckoutV3` and `CheckoutV4`. It should be also...
 Not clear what takes such long? Is it compilation? Let's check it.
To save on processing time, by default only bindings for actions used in a given workflow are generated. This is problematic when a Kotlin file shared among various workflows is...