Skip to content

Commit

Permalink
Update compatibility
Browse files Browse the repository at this point in the history
Drop PHP 7.4, add PHP 8.1 and 8.2
Test Laravel 9 and 10
  • Loading branch information
martijngastkemper committed Mar 7, 2024
1 parent 7ad1d32 commit 997e8e9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,29 @@ name: Run tests

on:
push:
pull_request:

jobs:
php-tests:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.0]
laravel: [8.*]
laravel: [8.*, 9.*, 10.*]
php: [8.0, 8.1, 8.2]
dependency-version: [prefer-stable]
include:
- laravel: 8.*
testbench: 6.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 8.*
php: 8.2
- laravel: 10.*
php: 8.0
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

[Return To Top](#nova-publish)

- PHP 7.4, 8.0
- Laravel 8, 9
- Nova 3
- PHP 8.0, 8.1, 8.2
- Laravel 8, 9, 10
- Nova 4

## Installation

Expand Down Expand Up @@ -74,7 +74,7 @@ Configure GitHub credentials, set the path to the workflow file and configure an

Run `npm run dev` to watch for changes in the `resources/js` directory.

Use the local checkout in a projecdt that uses this plugin. [The Composer documentation explains how to do this.](https://getcomposer.org/doc/05-repositories.md#path)
Use the local checkout in a project that uses this plugin. [The Composer documentation explains how to do this.](https://getcomposer.org/doc/05-repositories.md#path)

## i18n

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"license": "MIT",
"require": {
"php": "^8.0|^7.4",
"php": "^8.0|^8.1|^8.2",
"guzzlehttp/guzzle": "^7.3",
"laravel/nova": "^4.0"
},
Expand Down

0 comments on commit 997e8e9

Please sign in to comment.