```yml
jobs:
job1:
steps:
- run: echo HelloWorld
- # empty step
```
If a job contains an empty step, `Job.Steps` will have a nil element and will cause panic when calling `Step.String()`.
See [the code of gitea](
|
||
|---|---|---|
| .. | ||
| testdata | ||
| evaluator.go | ||
| interpeter.go | ||
| jobparser.go | ||
| jobparser_test.go | ||
| model.go | ||
| model_test.go | ||
| testdata_test.go | ||