Try and test a Github Action locally - it's an engineering project up there with the Space Shuttle.
Repositories around the world are filled with endless commits of "test1", "test2", "test3" trying to debug their actions in prod.
Right, but Gitlab does have the excellent built-in pipeline editor that will visualize and validate your pipelines for you.
It can also render the complete pipeline config (making it easy to run and debug the problematic parts locally just by copying the relevant parts, even if they're hidden in and include somewhere).