From 7dd98c0c3b3542970ec21fce80ec5c88916ac469 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Mon, 9 Sep 2024 00:32:52 +0100 Subject: [PATCH] chore: adjusts workflow --- .github/workflows/static.yml | 2 +- .github/workflows/tests.yml | 5 +---- composer.json | 6 +++--- tests/Authentication.php | 2 +- tests/Console.php | 2 +- tests/Container.php | 2 +- tests/ExceptionHandling.php | 2 +- tests/Http.php | 2 +- 8 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 149d707..b4db6ef 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -18,7 +18,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 tools: composer:v2 coverage: none diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b94e6de..3772b73 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,13 +9,10 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: ['8.1', '8.2', '8.3'] + php: ['8.2', '8.3'] laravel: ['10', '11'] dependency-version: [prefer-lowest, prefer-stable] parallel: ['', '--parallel'] - exclude: - - php: '8.1' - laravel: '11' name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} - ${{ matrix.parallel }} diff --git a/composer.json b/composer.json index e2616d1..baad4a1 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "license": "MIT", "require": { "php": "^8.2.0", - "laravel/framework": "^11.5.0", + "laravel/framework": "^11.22.0", "pestphp/pest": "^3.0.0" }, "autoload": { @@ -30,8 +30,8 @@ } }, "require-dev": { - "laravel/dusk": "^8.2.0", - "orchestra/testbench": "^9.0.4", + "laravel/dusk": "^8.2.5", + "orchestra/testbench": "^9.4.0", "pestphp/pest-dev-tools": "^3.0.0" }, "minimum-stability": "dev", diff --git a/tests/Authentication.php b/tests/Authentication.php index 1e7b78e..094c82f 100644 --- a/tests/Authentication.php +++ b/tests/Authentication.php @@ -1,5 +1,5 @@ expectsOutput('pest'); diff --git a/tests/Container.php b/tests/Container.php index f99c8f9..f542614 100644 --- a/tests/Container.php +++ b/tests/Container.php @@ -1,5 +1,5 @@ get('/')->assertSee('laravel'); diff --git a/tests/ExceptionHandling.php b/tests/ExceptionHandling.php index 07b27b9..340ea9b 100644 --- a/tests/ExceptionHandling.php +++ b/tests/ExceptionHandling.php @@ -1,5 +1,5 @@ assertTrue(true); diff --git a/tests/Http.php b/tests/Http.php index c106987..dd5d1b9 100644 --- a/tests/Http.php +++ b/tests/Http.php @@ -1,5 +1,5 @@ assertSee('laravel');