I Hate GitHub Actions with Passion
4 months ago
- #Software Development
- #GitHub Actions
- #CI/CD
- The author expresses strong dislike for GitHub Actions, more than any other technology.
- A personal project, tmplr, encountered issues with GitHub Actions when trying to build across multiple platforms, specifically failing on Linux ARM.
- The problem stemmed from GitHub Actions isolating binaries, preventing the ARM runner from accessing an x86_64 binary of CUE.
- Debugging involved a tedious loop of making changes, pushing, waiting for CI results, and repeating, which was time-consuming and frustrating.
- The solution was to move logic out of GitHub Actions' control by deleting build.rs and using a GNU Makefile instead, committing generated files directly to the repository.
- Despite the frustrations, GitHub Actions is acknowledged for its benefits, like facilitating macOS builds, though the author wishes for a better alternative.
- The article concludes with a resigned acceptance of GitHub Actions' flaws, highlighting the inefficiencies and time lost to debugging.