Skip to content

Commit

Permalink
Update PHP and Laravel versions, exclude PHP 8.1 and Laravel 11.*.
Browse files Browse the repository at this point in the history
  • Loading branch information
murdercode committed Mar 1, 2024
1 parent d1bbd1f commit 0f5fc6a
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,30 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
os: [ ubuntu-latest ]
php: [ 8.3, 8.2, 8.1 ]
laravel: [ 10.* ]
laravel: [ 11.*, 10.* ]
stability: [ prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
# include:
# - laravel: 10.*
# testbench: 8.*
# carbon: ^2.63
exclude:
- php: 8.1
laravel: 11.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-L${{ matrix.laravel }}-${{ matrix.dependency-version }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 0f5fc6a

Please sign in to comment.