Skip to content

Add Laravel 11

Add Laravel 11 #131

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3' ]
laravel: [ '10.*', '11.*' ]
stability: [ prefer-stable ]
include:
- laravel: '11.*'
testbench: '9.*'
- laravel: '10.*'
testbench: '8.*'
exclude:
- laravel: 11.*
php: 8.1
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Check Code Style
run: composer test:lint
- name: Run Tests
run: composer test:parallel