diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index b26939173..94ed26c69 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -1,25 +1,13 @@ on: pull_request: - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - - 'psalm.xml' + paths: &paths + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' + - '.roave-backward-compatibility-check.xml' push: branches: ['master'] - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - - 'psalm.xml' + paths: *paths name: backwards compatibility @@ -30,7 +18,5 @@ jobs: roave_bc_check: uses: yiisoft/actions/.github/workflows/bc.yml@master with: - os: >- - ['ubuntu-latest'] php: >- - ['8.1'] + ['8.5'] diff --git a/.roave-backward-compatibility-check.xml b/.roave-backward-compatibility-check.xml new file mode 100644 index 000000000..46c6b9103 --- /dev/null +++ b/.roave-backward-compatibility-check.xml @@ -0,0 +1,9 @@ + + + + #\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Psr\\EventDispatcher\\StoppableEventInterface"# + #\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Yiisoft\\Arrays\\ArrayableTrait"# + +