GitHub Actions Kotlin DSL

Work in progress!

The goal is to be able to describe GH Actions in Kotlin with all its perks, like:

workflow(
    name = "Test workflow",
    on = listOf(Push),
) {
    job(
        name = "test_job",
        runsOn = UbuntuLatest,
    ) {
        uses(action = "actions/checkout@v2")

        run(
            name = "Hello world!",
            run = "echo 'hello!'")
    }
}

GitHub

View Github