4 ms·
You can run GitHub workflows locally with act: https://github.com/nektos/act https://github.com/nektos/act
by sedatk 4y ago
You can run GitHub workflows locally with act: https://github.com/nektos/act https://github.com/nektos/act
- ollien 4y agoThis is far from perfect, IME. The big problem I have (and maybe there's a solution I don't know about) is that there's no easy way to test getting event data, unless you wanna rebuild the events yourself (which is hardly reliable if the problem is something like verifying a conditional that enables/disables a stage).
- adrienthebo 4y agoSeconding this; act has a lot of potential but misses a number of features such as support for deployment environment variables (eg `${{ var.DEPLOY_SPECIFIC_ENV_VAR }}`) and only recently added support for reusable workflows (https://github.com/nektos/act/issues/826 https://github.com/nektos/act/issues/826). It looks like fine software and the maintainers deserve praise for their work but it's not yet a drop-in replacement for GitHub Actions.
- frodowtf 4y agoAct is okay, but the runner image behaves quite differently than a GitHub runner would. The original image would just be too big for reasonable local workflows. Also artifacts don't seem to be supported.
- netr0ute 4y ago> The original image would just be too big for reasonable local workflows. Is there a way so I can still do this? I have terabytes of SSD just waiting to be used.