diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 84536c1..cde6816 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,25 +6,31 @@ on: - master pull_request: branches: - - "*" + - * schedule: - cron: '0 0 * * *' jobs: php-tests: runs-on: ubuntu-20.04 + timeout-minutes: 15 + env: COMPOSER_NO_INTERACTION: 1 strategy: matrix: php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*] + laravel: ['9.*', '10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index f6517be..bdac7f0 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,14 @@ { "name": "barryvdh/laravel-snappy", "description": "Snappy PDF/Image for Laravel", - "keywords": ["laravel","snappy", "pdf", "image", "wkhtmltopdf", "wkhtmltoimage"], + "keywords": [ + "laravel", + "snappy", + "pdf", + "image", + "wkhtmltopdf", + "wkhtmltoimage" + ], "license": "MIT", "authors": [ { @@ -11,12 +18,12 @@ ], "require": { "php": ">=7.2", - "illuminate/support": "^9|^10", - "illuminate/filesystem": "^9|^10", + "illuminate/support": "^9|^10|^11.0", + "illuminate/filesystem": "^9|^10|^11.0", "knplabs/knp-snappy": "^1.4.4" }, "require-dev": { - "orchestra/testbench": "^7|^8" + "orchestra/testbench": "^7|^8|^9.0" }, "autoload": { "psr-4": {