- 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>
113 lines
2.2 KiB
YAML
113 lines
2.2 KiB
YAML
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-20.04, 1.17)
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.17
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-20.04, 1.18)
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.18
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-20.04, 1.19)
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
version:
|
|
- 1.19
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-22.04, 1.17)
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.17
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-22.04, 1.18)
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.18
|
|
---
|
|
name: test
|
|
jobs:
|
|
job1:
|
|
name: job1 (ubuntu-22.04, 1.19)
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
- run: uname -a && go version
|
|
strategy:
|
|
fail-fast: "true"
|
|
max-parallel: "5"
|
|
matrix:
|
|
os:
|
|
- ubuntu-22.04
|
|
version:
|
|
- 1.19
|