binkley / modern-java-practices

Modern Java/JVM Build Practices
The Unlicense
925 stars 69 forks source link

Local tool for CI configuration before pushing #486

Closed binkley closed 1 month ago

binkley commented 1 month ago

https://nektosact.com/introduction.html

The idea: Run local GitHub builds locally very similar to how CI does so you can try out .github/workflows/* changes before pushing them and breaking CI for others.

There's a reference to this in the https://github.com/binkley/modern-java-practices/wiki/Setup-your-CI page for a while. It should be moved to https://github.com/binkley/modern-java-practices/wiki/Keep-local-consistent-with-CI with sensible discussion on tradeoffs.

There's no writing on GitLabs vs GitHub. This is out of scope, but good for checking & adding comments.

Related: #449

binkley commented 1 month ago

Feedback sent to GitHub on publicly supporting a tool like nektos/act for devs to use locally to run their CI pipelines before they push & share to others.

binkley commented 1 month ago

Discussed.