diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ea3836..1fa56d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,5 @@ name: CI -env: - COMPOSE_INTERACTIVE_NO_CLI: 1 - PHP_CS_FIXER_IGNORE_ENV: 1 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - on: push: pull_request: @@ -12,13 +7,16 @@ on: jobs: pest: - name: Tests (Pest) + name: Tests (Pest) L${{ matrix.laravel }} runs-on: ubuntu-latest + strategy: + matrix: + laravel: [8, 9] steps: - uses: actions/checkout@v2 - name: Install composer dependencies - run: composer install + run: composer require "laravel/framework:^${{matrix.laravel}}.0" - name: Run tests run: vendor/bin/pest diff --git a/composer.json b/composer.json index 5d6322e..59561fc 100644 --- a/composer.json +++ b/composer.json @@ -22,14 +22,14 @@ }, "require": { "php": "^8.0", - "illuminate/support": "^8.24", - "archtechx/laravel-seo": "^0.2.2", + "illuminate/support": "^8.24|^9.0", + "archtechx/laravel-seo": "^0.3.2", "ryangjchandler/orbit": "*", - "illuminate/routing": "^8.53", - "illuminate/database": "^8.53" + "illuminate/routing": "^8.53|^9.0", + "illuminate/database": "^8.53|^9.0" }, "require-dev": { - "orchestra/testbench": "^6.9", + "orchestra/testbench": "^6.9|^7.0", "pestphp/pest": "^1.2", "pestphp/pest-plugin-laravel": "^1.0" }, @@ -39,5 +39,7 @@ "ArchTech\\Pages\\PagesServiceProvider" ] } - } + }, + "minimum-stability": "dev", + "prefer-stable": true }