Hacker News

Show HN: Write GitHub Actions in any language: Loopt

15 points by Bnjoroge ago | 5 comments
Loopt generates the equivalent code for your workflows in any language, then compiles it down to your workflow files. First-party support for Rust, Python, Typescript, and Go, but it's trivial to add a new language. Check it out if you are tired of mangling YAML.

engma7moud3ly |next [-]

I like the idea.. I often use JavaScript in workflows through (actions/github-script) and Python inside (shell: python) Being able to write the entire workflow in my preferred language sounds really cool :)

Bnjoroge |root |parent [-]

Thanks! It's definitely way overdue, and something Github should have supported much earlier.

dezgeg |previous [-]

I assume you're looked into whether it's possible to generate the yaml at runtime, without committing the generated file to the repo?

Bnjoroge |root |parent |next [-]

Yes indeed, but it's not possible on Github, as Github expects the workflows to exist in .github/.

OptionOfT |root |parent |previous [-]

GitHub itself has support for it through dynamic workflows, but us mortal humans are not allowed to create those.