Skip to content

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 Mar 2, 2024
1 parent 5a0373e commit 62477b5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@ name: PHPUnit

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-versions: [ '8.1', '8.2' ]
phpunit-versions: [ 'latest' ]
php-versions: ['8.1', '8.2']
phpunit-versions: ['8.2', latest]

name: PHP ${{ matrix.php-versions }}

Expand All @@ -30,8 +33,8 @@ jobs:
coverage: none

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: |
composer install --prefer-dist --no-interaction --no-suggest
if: "steps.composer-cache.outputs.cache-hit != 'true'"
run: composer install --prefer-dist --no-interaction --no-suggest

- name: Run test suite
run: composer run-script test

0 comments on commit 62477b5

Please sign in to comment.