From 95015289b72f5c656ee55c3271efc8480c3edbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20D=C4=85browski?= <20278897+karoldabro@users.noreply.github.com> Date: Tue, 2 Apr 2024 17:23:50 +0200 Subject: [PATCH] Update to L11 (#17) * Update to L11 * Update to L11 --- .github/workflows/laravel.yml | 36 +++++++++++++++++------------------ README.md | 1 + composer.json | 10 +++++----- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 4e06d8b..8270aa0 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -7,14 +7,14 @@ on: branches: [ "master" ] jobs: - tests82: + tests83: runs-on: ubuntu-latest steps: - uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e with: - php-version: '8.2' + php-version: '8.3' - uses: actions/checkout@v3 - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist @@ -28,23 +28,23 @@ jobs: DB_DATABASE: database/database.sqlite run: vendor/bin/phpunit - tests81: + tests82: runs-on: ubuntu-latest steps: - - uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e - with: - php-version: '8.1' - - uses: actions/checkout@v3 - - name: Install Dependencies - run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - - name: Create Database - run: | - mkdir -p database - touch database/database.sqlite - - name: Execute tests (Unit and Feature tests) via PHPUnit - env: - DB_CONNECTION: testing - DB_DATABASE: database/database.sqlite - run: vendor/bin/phpunit \ No newline at end of file + - uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e + with: + php-version: '8.2' + - uses: actions/checkout@v3 + - name: Install Dependencies + run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + - name: Create Database + run: | + mkdir -p database + touch database/database.sqlite + - name: Execute tests (Unit and Feature tests) via PHPUnit + env: + DB_CONNECTION: testing + DB_DATABASE: database/database.sqlite + run: vendor/bin/phpunit \ No newline at end of file diff --git a/README.md b/README.md index 47792a5..d607f24 100755 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ By composer: | php | laravel / lumen | seeder-once | |--------------------|-----------------|----------------------------------------------------| +| 8.2, 8.3 | 10.0, 11.0 | ```composer require "kdabrow/seeder-once: ^5.0"``` | | 8.1, 8.2 | 10.0 | ```composer require "kdabrow/seeder-once: ^4.0"``` | | 8.0, 8.1 | 9.21 | ```composer require "kdabrow/seeder-once: ^3.0"``` | | 7.3, 7.4, 8.0 | 8.0, 9.0 | ```composer require "kdabrow/seeder-once: ^2.2"``` | diff --git a/composer.json b/composer.json index 0289fd5..1bbc66b 100755 --- a/composer.json +++ b/composer.json @@ -17,13 +17,13 @@ } ], "require": { - "php": ">=8.0.2", - "illuminate/console": "^10.0", - "illuminate/database": "^10.0", - "illuminate/support": "^10.0" + "php": ">=8.2.0", + "illuminate/console": "^10.0|^11.0", + "illuminate/database": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0" + "orchestra/testbench": "^9.0|^9.0" }, "autoload": { "psr-4": {