runner/act/jobparser/testdata/has_with.in.yaml
Earl Warren 57524e90f1 fix: tolerate strings for fail-fast, max-parallel, timeout-minutes, cancel-timeout-minutes (#203)
- the model defines them as strings and can parse them either as string or their effective type (boolean, number)
- add workflow validation when reading all testdata
- add fail-fast, max-parallel, timeout-minutes, cancel-timeout-minutes to test workflows in the jobparser tests

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/203
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-27 10:06:07 +00:00

19 lines
339 B
YAML

name: test
jobs:
job1:
name: job1
runs-on: linux
steps:
- uses: .gitea/workflows/build.yml
with:
package: service
timeout-minutes: 20
timeout-minutes: 10
job2:
name: job2
runs-on: linux
steps:
- uses: .gitea/workflows/build.yml
with:
package: module