Skip to content

reuse coverage job #287

reuse coverage job

reuse coverage job #287

Workflow file for this run

name: CI
on: [push]
jobs:
blackbox:
uses: innmind/github-workflows/.github/workflows/black-box.yml@main
with:
scenarii: 20
secrets: inherit
coverage:
uses: innmind/github-workflows/.github/workflows/coverage.yml@main

Check failure on line 12 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "innmind/github-workflows/.github/workflows/coverage.yml@main" (source branch with sha:087f77bc4b9b33a09125679d604205cae073dd46) : You have an error in your yaml syntax on line 8
secrets: inherit
psalm:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.2', '8.3']
name: 'Psalm'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
- name: Composer
uses: "ramsey/composer-install@v3"
- name: Psalm
run: vendor/bin/psalm --shepherd
cs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.2']
name: 'CS'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
- name: Composer
uses: "ramsey/composer-install@v3"
- name: CS
run: vendor/bin/php-cs-fixer fix --diff --dry-run