Skip to content

Improve CI

Improve CI #487

Workflow file for this run

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'psalm.xml'
name: build
jobs:
phpunit:
uses: yiisoft/actions/.github/workflows/phpunit.yml@fix-phpunit-codecov

Check failure on line 27 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. In .github/workflows/build.yml (Line: 27, Col: 11): Error from called workflow yiisoft/actions/.github/workflows/phpunit.yml@fix-phpunit-codecov (Line: 46, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CODECOV_TOKEN
with:
ini-values: pcov.directory=$GITHUB_WORKSPACE, pcov.exclude=#^(?!($GITHUB_WORKSPACE/config/|$GITHUB_WORKSPACE/src/)).*#
os: >-
['ubuntu-latest', 'windows-latest']
php: >-
['8.0', '8.1', '8.2', '8.3']