1
0
Fork 0
mirror of https://github.com/archtechx/helpers.git synced 2025-12-12 20:14:02 +00:00

Laravel 11 support (#4)

* drop L9, add L11 support

* fix composer.json syntax
This commit is contained in:
Samuel Štancl 2024-03-29 02:08:57 +01:00 committed by GitHub
parent 8fd1e7d00e
commit 818d7235be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 7 deletions

View file

@ -16,10 +16,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
laravel: [9, 10] laravel: [10, 11]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install composer dependencies - name: Install composer dependencies
run: composer require "illuminate/support:^${{ matrix.laravel }}.0" run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
- name: Run tests - name: Run tests

View file

@ -18,14 +18,13 @@
} }
}, },
"require": { "require": {
"php": "^8.1", "php": "^8.2",
"illuminate/support": "^9.0|^10.0", "illuminate/support": "^10.0|^11.0"
"archtechx/enums": "^0.3.2"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^7.0|^8.0", "orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^1.2|^2.0", "pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^1.0|^2.0" "pestphp/pest-plugin-laravel": "^2.0"
}, },
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,