From 6dc382c9ee75683615593960508940e17cb6ab84 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 04:02:44 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 12250b5..71e7085 100755 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" + "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" }, "autoload": { "psr-4": { @@ -25,8 +25,8 @@ }, "minimum-stability": "stable", "require-dev": { - "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", - "phpunit/phpunit": "^8.3 || ^9.0" + "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^8.3 || ^9.0 || ^10.5" }, "scripts": { "test": "./vendor/bin/phpunit" From 36dc5bc8c4794f1ab86f3f67217bbd2d62e77d64 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 04:02:45 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/php.yml | 42 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e2991e6..e8b30cb 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -2,37 +2,39 @@ name: PHP Composer on: push: - branches: [ master, dev ] + branches: + - master + - dev pull_request: - branches: [ master ] + branches: + - master jobs: build: - runs-on: ${{ matrix.operating-system }} + strategy: matrix: - # operating-system: [ubuntu-latest, windows-latest, macOS-latest] operating-system: [ubuntu-latest] - php-versions: ['7.2', '7.3', '7.4', '8.0'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.2'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Validate composer.json and composer.lock - run: composer validate --strict + - name: Validate composer.json and composer.lock + run: composer validate --strict - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php- + - name: Cache Composer packages + id: composer-cache + uses: actions/cache@v2 + with: + path: vendor + key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ runner.os }}-php- - - name: Install dependencies - run: composer install --prefer-dist --no-progress + - name: Install dependencies + run: composer install --prefer-dist --no-progress - - name: Run test suite - run: composer test \ No newline at end of file + - name: Run test suite + run: composer test