This is where a locally hosted gitlab instance becomes very handy.

Not that it's in any way official, however you can run Github Actions locally with https://github.com/nektos/act