Re:GitHub Actions could be so much better
by SAI_Peregrinus on Saturday September 23, 2023 @12:12AM
(#37620526)
Agreed. I want my builds reproducible. The CI binaries should be bit-for-bit identical to the locally-built ones.
Generally, I would use the same tools (e.g. ./gradlew build or docker build) to build stuff locally as on CI, and config params are typically enough to distinguish what needs to be different.
My CI scripts still tend up to be more complicated than I'd like to (due to things like caching, artifacts, code insights, triggers, etc.), but the main build logic at least is extracted.