This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
Update composer.json #13
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: Tasks | |
on: [push, pull_request] | |
jobs: | |
lint-php: | |
name: "php: ${{ matrix.php }} TYPO3: ${{ matrix.typo3 }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ '8.2' ] | |
typo3: [ '11', '12' ] | |
steps: | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.composer/cache/files | |
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.php }}-composer- | |
- run: composer require typo3/minimal="^${{ matrix.typo3 }}" --dev --ignore-platform-req=php+ | |
- run: composer install --no-interaction --no-progress --ignore-platform-req=php+ | |
- run: ./vendor/bin/grumphp run --ansi |