Skip to content

[GHA] Introduce reusable matrix workflow #106

[GHA] Introduce reusable matrix workflow

[GHA] Introduce reusable matrix workflow #106

Workflow file for this run

name: Pull Request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
call-pull-request-soundness-workflow:
name: Soundness
uses: ./.github/workflows/pull_request_soundness.yml
with:
license_header_check_project_name: "SwiftNIO"
format_check_enabled: false
call-pull-request-unit-tests-workflow:
name: Unit tests
uses: ./.github/workflows/pull_request_swift_matrix.yml

Check failure on line 17 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Pull Request

Invalid workflow file

The workflow is not valid. .github/workflows/pull_request.yml (Line: 17, Col: 11): Input name is required, but not provided while calling. .github/workflows/pull_request.yml (Line: 19, Col: 26): Invalid input, matrix_linux_name is not defined in the referenced workflow.
with:
matrix_linux_name: "Unit tests"
matrix_linux_command: "swift test -Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
call-pull-request-benchmark-workflow:
name: Benchmarks
uses: ./.github/workflows/pull_request_swift_matrix.yml
with:
matrix_linux_name: "Benchmarks"
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q libjemalloc-dev && swift package --package-path /Benchmarks --disable-sandbox benchmark baseline check --check-absolute-path Benchmarks/Thresholds/${SWIFT_VERSION}/
"