I’ve been writing a bunch of GitHub actions lately and immediately fell into the habit of just using someone else’s action in each step.
I went back and rewrote almost everything to remove dependencies and I just write little shell scripts to do what I need rather than relying on someone else’s little shell script that hasn’t been touched it 2 years.
The fewer dependencies, the better I can sleep at night.
This is my shared workflow which I apply to few dozens of projects in my company. Works like a charm! Extremely simple and understandable script. Build times are mere seconds (when cache works).
I tried to understand this whole github actions stuff but decided that I don't need all that complexity.