Image of the GitHub Octocat in front of a laptop

Custom GitHub Actions in Go Without Docker

GitHub Actions is a great tool for creating custom workflows for building, testing, and deploying your code. They’re flexible and pretty easy to get started. According to the documentation on creating custom actions, there are three supported ways to create custom actions: Using JavaScript Using a Dockerfile (or Docker image) Composite Actions (multi-step builds that can also include shell scripts) Typically if you want to write custom actions in Go, you have to use a Docker-based approach, but I was getting ready to write some actions to re-use elsewhere and started to wonder, “Could I use GopherJS to create the actions in Go instead?...

June 10, 2021 · 6 min · Steve Yackey