github-workflows-kt
github-workflows-kt copied to clipboard
Authoring GitHub Actions workflows in Kotlin. You won't go back to YAML!
**What feature do you need?** https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-contexts-to-create-matrices Currently only the most simple and flat matrices are supported with the datatype `Map`. But besides that you can take a matrix dimension value...
Best if it's done automatically or semi-automatically. For example, I thought of getting a schema of what the workflow YAML can contain (here's one maintained by the community: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/github-workflow.json) and...
# Action I'm using `ActionSlackV3` which is inside a weirdly named package: > import it.krzeminski.githubactions.actions.`8398a7`.ActionSlackV3 Everw now and then when I open the script in IntelliJ, it does a `Collecting...
See #206 - wrappers check failed because in the meantime, some action unrelated to this PR got a new input. As the number of supported actions grows, such unrelated failures...
Solves #87 Each workflow from `IntegrationTest` is defined in its own file. Each expected YAML is defined in resources/integration/expected/$NAME.yaml If the test fails, the actual YAML is written to resources/integration/actual/$NAME.yaml...
At the moment one of the examples in the docs doesn't compile https://github.com/krzema12/github-actions-kotlin-dsl/blob/32576f647c533f087eed07a93564a56f418d78cd/docs/user-guide/getting_started.md?plain=1#L35-L45 ```kotlin job(name = "test_job", runsOn = UbuntuLatest) { // Error: No value passed for parameter 'id' ```...
[GitHub Actions Kotlin DSL](https://github.com/krzema12/github-actions-kotlin-dsl) provide an alternative to write GitHub Actions not in YAML but in a type-safe programming language: Kotlin. To this end we provide type-safe wrappers for currently...
**What feature do you need?** https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymax-parallel **Do you have an example usage?** ```yml strategy: fail-fast: false max-parallel: 2 matrix: environment: - windows-2019 - windows-2022 - windows-latest ```