Ok a big problem has been there are so many ways to do scripting and cd/CI pipelines.
There are basically three different approaches:
- Stuff everything into GitHub actions. With Act you can actually run GitHub action locally. So when you combine this with pre-commit you can have a single method for controlling things. The main issue is that while this is good for CD/CI it isn’t great for daily Devleopment.
-
The second path is to use make files to create an integrated command set. This is nice in that it lets you run pieces of code easily and with help as well. You can actually integrate this into GitHub actions by adding make commands directly into it. So that you can merge commands for debugging in with the CD/CI change.
-
Finally there are scripts that are the most common. The main advantage here is that they are quick to write. So it’s great to write scripts as needed but use makefiles to bind it together.
How to use your own Makefile in github actions? – Stack Overflow
— Read on stackoverflow.com/questions/66918575/how-to-use-your-own-makefile-in-github-actions