Hacker News new | ask | show | jobs
by jayd16 1883 days ago
CI can punish but it can't solve the problem.
1 comments

What works really well for me is using the pre-commit framework (https://pre-commit.com/). This offers an easy way for everybody to run defined hooks locally before committing or pushing changes. That allows people to solve problems before pushing code, but if they don't, they'll get punished by CI, as the same hooks run there as well.