News for hackers. Stuff that matters.
Re:Pre-commit: framework for managing/maintaining multi-lang... by aequitas on Tuesday December 21, 2021 @09:12AM (#29637520)
I have the same issue but the other way around with things like Github Actions. It's really easy to pull actions from the marketplace and apply them in your project. But now you have your linting and testing locked into Github with no easy way to do it locally. So your dev iteration cycle gets bigger. Generic linting configuration files get you a long way, but often enough there are small differences in the way test environments are setup that still causes issues.
Re:Pre-commit: framework for managing/maintaining multi-lang... by kortex on Tuesday December 21, 2021 @09:25AM (#29637617)
You can use `act` to run actions locally. Most functionality is supported. Works a treat better than sending it repeatedly just to test how things behave in CI.

https://github.com/nektos/act

Re:Pre-commit: framework for managing/maintaining multi-lang... by aequitas on Tuesday December 21, 2021 @10:07AM (#29638050)
Have there been any changes to improve it recently? I checked act years back with the old Actions system and a few months back with the new one, but both times ran into issues with supporting most of the actions I was using.
Re:Pre-commit: framework for managing/maintaining multi-lang... by kortex on Tuesday December 21, 2021 @02:51PM (#29641318)
Seems like it's getting more features, slowly but surely.