CI: Add TYPO3 v13 to test matrix #645
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: "Backwards Compatibility Check" | |
on: | |
pull_request: | |
branches: | |
- "**" | |
push: | |
branches: | |
- "main" | |
jobs: | |
BC-Breaks: | |
name: "Check Backwards Compatibility" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
php-version: | |
- '8.1' | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- name: "Install PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
coverage: "pcov" | |
php-version: ${{ matrix.php-version }} | |
ini-values: memory_limit=-1 | |
tools: composer:v2, cs2pr | |
extensions: curl | |
- name: "Cache dependencies" | |
uses: "actions/cache@v4" | |
with: | |
path: | | |
~/.composer/cache | |
vendor | |
key: "php-${{ matrix.php-version }}" | |
restore-keys: "php-${{ matrix.php-version }}" | |
- name: "Roave Backward Compatibility Check" | |
run: | | |
# To ensure compability with the roave tool. | |
composer remove --dev typo3/testing-framework ssch/typo3-rector symplify/easy-coding-standard typo3/testing-framework | |
rm -rf .Build composer.lock | |
composer require --dev roave/backward-compatibility-check:"^8.6" | |
.Build/bin/roave-backward-compatibility-check |