Skip to content

Commit

Permalink
Add php 8.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
markwalet committed Nov 28, 2024
1 parent f65cb0b commit bfda353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-php-8.3-illuminate-11.*-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
extensions: dom, libxml, mbstring, zip, pcntl
coverage: xdebug

Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2, 8.3 ]
php: [ 8.1, 8.2, 8.3, 8.4 ]
illuminate: [ ^10.0, ^11.0 ]
stability: [ prefer-lowest, prefer-stable ]
include:
Expand All @@ -27,19 +27,15 @@ jobs:
exclude:
- php: 8.1
illuminate: ^11.0
- php: 8.4
illuminate: ^10.0

name: P${{ matrix.php }} - I${{ matrix.illuminate }} - ${{ matrix.stability }}

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

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-illuminate-${{ matrix.illuminate }}-composer-${{ hashFiles('composer.json') }}

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

0 comments on commit bfda353

Please sign in to comment.