Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Update GitHub Actions for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Feb 27, 2024
1 parent 8f2d156 commit cc355fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit cc355fd

Please sign in to comment.