diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c8914e8..200f347 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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 diff --git a/README.md b/README.md index 170be36..21e51f1 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/composer.json b/composer.json index c88dd1c..e4aa35e 100644 --- a/composer.json +++ b/composer.json @@ -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" },