Skip to content

Update github build for Laravel 11 #12

Update github build for Laravel 11

Update github build for Laravel 11 #12

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
illuminate: [^8.0, ^9.0, ^10.0, ^11.0]
exclude:
- php: 7.3
illuminate: ^9.0
- php: 7.4
illuminate: ^9.0
- php: 7.3
illuminate: ^10.0
- php: 7.4
illuminate: ^10.0
- php: 8.0
illuminate: ^10.0
- php: 7.3
illuminate: ^11.0
- php: 7.4
illuminate: ^11.0
- php: 8.0
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 update --no-interaction
- run: vendor/bin/phpunit