Thank you for another great episode!
Did you try to run gitlab-runner standalone without gitlab locally? I want to test my scripts before I commit them while I fiddle with them.
You can check the docs for additional tags https://docs.gitlab.com/ce/ci/yaml/README.html#validate-the-gitlab-ciyml
Which also includes a validator at /ci/lint.
Alternatively, you can make a post request to the ApI
https://docs.gitlab.com/ee/api/lint.html