diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 03d5f2c..b179087 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,23 +1,28 @@ name: Run Tests -on: [push] +on: + - push jobs: test: - runs-on: ubuntu-latest + strategy: matrix: php: [8.2, 8.1] - laravel: [10.*] + laravel: ['10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - steps: - name: Checkout code uses: actions/checkout@v1 diff --git a/composer.json b/composer.json index af5bccf..6756ad2 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,22 @@ { "name": "coderello/laraflash", "description": "Advanced flash messages for Laravel.", - "keywords": ["laraflash", "laravel", "advanced", "flash", "messages"], + "keywords": [ + "laraflash", + "laravel", + "advanced", + "flash", + "messages" + ], "type": "library", "license": "MIT", "require": { "php": "^8.1", - "laravel/framework": "^10.0", + "laravel/framework": "^10.0|^11.0", "ext-json": "*" }, "require-dev": { - "orchestra/testbench": "^8.0" + "orchestra/testbench": "^8.0|^9.0" }, "autoload": { "psr-4": {