>_ IzzyLab

Topic breakdown

GitHub Actions describes a pipeline declaratively in YAML: trigger events at the top, below them a jobs dictionary where each job lives on its own runner (runs-on) and consists of a list of steps. The key mental model is distinguishing YAML structures: jobs and its contents are maps (key-value), while steps is a list where each step element starts with a dash and contains either run: or uses:. A separate subtlety is the on trigger: in YAML 1.1 it's a reserved boolean word, so it's better to write the event as an explicit structure rather than a bare word, so that linters don't stumble.

What's checked

  1. the workflow passes actionlint
  2. build job on ubuntu
  3. triggered on push

What it looks like