Same as what you have to use in gitlab, for what that's worth. But it is interesting that their existing "main.workflow" file is in a different syntax.
Ahh, now I see, support for the main.workflow syntax will be removed, and you must migrate:
https://help.github.com/en/articles/migrating-github-actions...