Merge pull request #1468 from delboy1978uk/3.8.x #569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Backward Compatibility Check" | |
on: | |
pull_request: | |
branches: | |
- "*.x" | |
paths: | |
- .github/workflows/bc-check.yml | |
- src/** | |
push: | |
branches: | |
- "*.x" | |
paths: | |
- .github/workflows/bc-check.yml | |
- src/** | |
jobs: | |
roave_bc_check: | |
name: "Roave BC Check" | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- name: Install PHP with extensions. | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.2" | |
- name: Install roave/backward-compatibility-check. | |
run: composer require --dev roave/backward-compatibility-check | |
- name: Run roave/backward-compatibility-check. | |
run: vendor/bin/roave-backward-compatibility-check --format=github-actions |