News for hackers. Stuff that matters.
Re:Work with GitHub Actions in Your Terminal with GitHub CLI by jka on Thursday April 15, 2021 @02:24PM (#26824317)
This project may be able to help you out: https://github.com/nektos/act/ (it provides a way to run GitHub actions locally)
Re:Work with GitHub Actions in Your Terminal with GitHub CLI by thamer on Thursday April 15, 2021 @03:53PM (#26825367)
I've tried to get `act` to work several times over the past few months, and never managed to get even a basic workflow to run locally. It kept giving cryptic errors that I had to dig into their code to figure out (e.g. requiring a GitHub Personal Access Token despite not mentioning it in the docs). It gave me the impression that it was far from functional, for now.

I eventually gave up and have been running Actions on GitHub from a branch, merging into the main one once it works.

Re:Work with GitHub Actions in Your Terminal with GitHub CLI by dzhiurgis on Thursday April 15, 2021 @08:55PM (#26828061)
How come Github doesn't have this? Just lemme run it locally. I've wasted so much time debugging my workflows... It's such a obvious miss.
Re:Work with GitHub Actions in Your Terminal with GitHub CLI by pydry on Thursday April 15, 2021 @03:13PM (#26824909)
Amazing that somebody developed that for Microsoft.
Re:Work with GitHub Actions in Your Terminal with GitHub CLI by madeofpalk on Thursday April 15, 2021 @03:20PM (#26824987)
they probably developed it for themselves.