Merge branch refs/heads/1.10.x into 1.11.x #5
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Backward Compatibility" | |
on: | |
pull_request: | |
push: | |
branches: | |
- "1.11.x" | |
paths: | |
- 'src/**' | |
- '.github/workflows/backward-compatibility.yml' | |
env: | |
COMPOSER_ROOT_VERSION: "1.11.x-dev" | |
concurrency: | |
group: bc-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches | |
cancel-in-progress: true | |
jobs: | |
backward-compatibility: | |
name: "Backward Compatibility" | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 60 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "none" | |
php-version: "8.1" | |
- name: "Install dependencies" | |
run: "composer install --no-dev --no-interaction --no-progress" | |
- name: "Install BackwardCompatibilityCheck" | |
run: | | |
composer global config minimum-stability dev | |
composer global config prefer-stable true | |
composer global require --dev ondrejmirtes/backward-compatibility-check:^7.3.0.1 | |
- name: "Check" | |
run: "$(composer global config bin-dir --absolute)/roave-backward-compatibility-check" |