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 1, 2024
1 parent c2d44fd commit 63df9ae
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,52 @@ on:
push:
branches:
- main

pull_request:
types: [ opened, synchronize, reopened ]
types:
- opened
- synchronize
- reopened

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [ 7.4, 8.0, 8.1, 8.2 ]
laravel: [ 8.*, 9.* , 10.*]
dependency-version: [ prefer-lowest, prefer-stable ]
php: [7.4, 8.0, 8.1, 8.2]
laravel: ['8.*', '9.*', '10.*', '11.*']
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*

- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 7.3
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0

# PHP 8.1 requires Laravel 8.65, so skip lowest
- laravel: 8.*
php: 8.1
dependency-version: prefer-lowest

# PHP 8.2 requires Laravel 8.65, so skip lowest
- laravel: 8.*
php: 8.2
dependency-version: prefer-lowest

- laravel: 9.*
php: 7.4
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} / L${{ matrix.laravel }} / ${{ matrix.dependency-version }}

Expand Down

0 comments on commit 63df9ae

Please sign in to comment.