Running code from https://docs.github.com/en/free-pro-team@latest/actions/quickstart
why does this code create a syntax error:
- name: Checkout code
uses: actions/checkout@v2
but this is fine:
- name: Checkout code
uses: actions/checkout@v2
According to this YAML How many spaces per indent? there are no indentation requirements for YAML.