From cc355fdcff3b27b21ed640a8cfe0b880e0833e86 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 01:24:34 +0000 Subject: [PATCH] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f78dd13..00685b8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - php: [8.1 8.0 7.4] + php: ['8.1 8.0 7.4', '8.2'] release: [stable, lowest] services: @@ -26,16 +26,20 @@ jobs: steps: - uses: actions/checkout@v1 + - uses: actions/cache@v1 with: path: ~/.composer/cache/files key: php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} + - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} tools: pecl extensions: mbstring, dom, fileinfo, pgsql, intl coverage: ${{ matrix.coverage }} + - run: composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-${{ matrix.release }} + - run: | vendor/bin/phpunit