⬆️ upgrade to php 8.4 #44
Workflow file for this run
This file contains hidden or 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
| on: [push, pull_request, release, workflow_dispatch] | |
| name: Test | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: pluswerk/php-dev:nginx-${{ matrix.php }} | |
| options: -t | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: ['8.1', '8.2', '8.3', '8.4'] | |
| name: 'PHP ${{ matrix.php }}' | |
| steps: | |
| - run: git config --global --add safe.directory /__w/phpsu/phpsu | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Cache dependenciess | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.composer/cache/files | |
| key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | |
| - run: composer install --prefer-dist --no-progress --no-suggest | |
| - run: vendor/bin/grumphp run | |
| - run: script -q -e -c "composer test" | |
| - run: script -q -e -c "composer infection" |