From bce671a76071139e046548b097ffb59097780a1f Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Wed, 3 Apr 2024 00:29:22 +0200 Subject: [PATCH 1/4] Laravel 11 support --- .github/dependabot.yml | 19 +++++++++++++++++++ .github/workflows/run-tests.yml | 6 ++++-- composer.json | 4 ++-- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9cc4fd7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,19 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + # Maintain dependencies for Composer + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "weekly" + labels: + - "composer" + - "dependencies" \ No newline at end of file diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 06c63a8..1c602e4 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] - laravel: [8.*, 9.*, 10.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8.* @@ -18,6 +18,8 @@ jobs: exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: [8.0, 8.1] name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 81a9186..457e29b 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "require": { "php": "^8.0", "aws/aws-sdk-php": "^3.209", - "illuminate/support": "^8.0|^9.52|^10.0", + "illuminate/support": "^9.52|^10.0|^11.0", "spatie/enum": "^3.13" }, "minimum-stability": "dev", @@ -47,7 +47,7 @@ "require-dev": { "guzzlehttp/guzzle": "^7.4", "nunomaduro/larastan": "^1.0|^2.0", - "orchestra/testbench": "^6.24|^7.0|^8.0", + "orchestra/testbench": "^7.0|^8.0|9.0", "phpunit/phpunit": "^9.5|^10.0", "vlucas/phpdotenv": "^5.4" } From cf518120c9403e9b8e273c203a5b99ff1c781e07 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Wed, 3 Apr 2024 00:34:45 +0200 Subject: [PATCH 2/4] fix --- .github/workflows/run-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1c602e4..5a697cc 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,7 +19,9 @@ jobs: - laravel: 10.* php: 8.0 - laravel: 11.* - php: [8.0, 8.1] + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} From ab14f4e63b0e2235d574e1f0a53ba4074fb2ead7 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Wed, 3 Apr 2024 00:40:41 +0200 Subject: [PATCH 3/4] refactor test --- .github/workflows/run-tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5a697cc..bfbca5d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,10 +12,9 @@ jobs: php: [8.0, 8.1, 8.2, 8.3] laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] - include: - - laravel: 8.* - testbench: ^6.0 exclude: + - laravel: 9.* + php: 8.3 - laravel: 10.* php: 8.0 - laravel: 11.* From 1c461fef0e450b1acf516dcdbcf846f2c55f6279 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Wed, 3 Apr 2024 00:42:52 +0200 Subject: [PATCH 4/4] fix --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9cc4fd7..b30ea0f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -16,4 +16,4 @@ updates: interval: "weekly" labels: - "composer" - - "dependencies" \ No newline at end of file + - "dependencies"