Skip to content

Rework CI to use workflow_call jobs #305

Rework CI to use workflow_call jobs

Rework CI to use workflow_call jobs #305

name: pull-request-commit
on:
pull_request:
branches:
- master
jobs:
build:
uses: ./.github/workflows/workflow-build.yml
strategy:
matrix:
pyver: ['3.9', '3.10']
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}

Check failure on line 13 in .github/workflows/pull-request-commit.yml

View workflow run for this annotation

GitHub Actions / pull-request-commit

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request-commit.yml (Line: 13, Col: 7): Unexpected value 'runs-on' .github/workflows/pull-request-commit.yml (Line: 21, Col: 7): Unexpected value 'runs-on'
test:
uses: ./.github/workflows/workflow-test.yml
needs: [build]
strategy:
matrix:
pyver: ['3.9', '3.10']
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
pages:
uses: ./.github/workflows/workflow-pages.yml
needs: [build]
strategy:
matrix:
pyver: ['3.9']
os: ['ubuntu-latest']
runs-on: ${{ matrix.os }}