Settings

Theme

Show HN: Write GitHub Actions in any language: Loopt

github.com

15 points by Bnjoroge · 5 comments · 1 min read

Reader

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.

2 threads
engma7moud3ly

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 :)

  • BnjorogeOP

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

dezgeg

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

  • BnjorogeOP

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

  • OptionOfT

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection