Skip to content

Update dependencies for Laravel 11 #54

Update dependencies for Laravel 11

Update dependencies for Laravel 11 #54

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: [7.4, 8.2]
laravel_version: [5.5.*, 10.*, 11.*]
steps:
- name: Checkout commit
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
- name: Validate composer.json
run: composer validate
- name: Run composer install
run: composer install --no-interaction --no-suggest
- name: CS fixer
run: vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix
- name: Install Laravel
run: composer update --no-interaction illuminate/database:${{ matrix.laravel_version }}
- name: Run PHPUnit
run: ./vendor/bin/phpunit