Skip to content

Merge pull request #17 from roerlemans/laravel-11 #27

Merge pull request #17 from roerlemans/laravel-11

Merge pull request #17 from roerlemans/laravel-11 #27

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1, 8.2]
illuminate: [^8.0, ^9.0, ^10.0, ^11.0]
exclude:
- php: 8.0
illuminate: ^10.0
- php: 8.0
illuminate: ^11.0
- php: 8.1
illuminate: ^11.0
name: PHP ${{ matrix.php }} & Illuminate ${{ matrix.illuminate }}
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- run: composer require "illuminate/database:${{ matrix.illuminate }}" --no-update
- run: composer require "illuminate/support:${{ matrix.illuminate }}" --no-update
- run: composer update --no-interaction
- run: vendor/bin/phpunit