News for hackers. Stuff that matters.
Re:Act: Run your GitHub Actions locally by nickjj on Saturday November 26, 2022 @10:11AM (#33753271)
This is what I do except I use a shell script instead of a Makefile.

A working example of this is at: https://github.com/nickjj/docker-flask-example/blob/912388f3...

Those ./run ci:XXX commands are in: https://github.com/nickjj/docker-flask-example/blob/912388f3...

I like it because if CI ever happens to be down I can still run that shell script locally.

Re:Act: Run your GitHub Actions locally by sneak on Saturday November 26, 2022 @10:32AM (#33753437)
You should still have a Makefile that calls your shell scripts when "make" or "make test" is run. Every person who writes shell scripts has a different filename and arguments. "make" and "make test" are always the same everywhere.