A job's steps run in order. When one fails, the job stops there: the steps after it never run, and gh run view shows them with -.
This repository's workflow runs ./build.sh before the tests. Nobody ever wrote build.sh, so that step fails every time: delete it.
Steps are called Run ./test.sh unless you name them. A name: makes the run easy to read. One step is one -, with its name: and run: lined up under it:
steps:
- uses: actions/checkout@v7
- name: Lint
run: shellcheck *.sh
- name: Test
run: ./test.shLint comes first on purpose: shellcheck is quick, so a mistake in a script fails the run in seconds, before the slower tests.
Objectives
- Which step never ran?
- Name the steps: Lint and Test.