When GHA were dead simple, there were projects simulating it locally. It's not possible anymore, and one had to burn a tens of hours just to develop the pipeline.
There is this : https://github.com/nektos/act
There is this : https://github.com/nektos/act