Skip to content

Commit

Permalink
Merge pull request #139 from lsnepomuceno/feat/adds-laravel-11-support
Browse files Browse the repository at this point in the history
Feat/adds laravel 11 support
  • Loading branch information
lsnepomuceno authored Mar 18, 2024
2 parents b97445c + d0b3096 commit 5442c49
Show file tree
Hide file tree
Showing 3 changed files with 1,923 additions and 1,076 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ permissions:

jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ ubuntu-22.04, ubuntu-latest ]
php-versions: [ '8.1', '8.2' ]
operating-system: [ ubuntu-latest ]
php-versions: [ '8.1', '8.2', '8.3' ]
laravel-version: [ '11.*','10.*','9.*' ]
env:
extensions: mbstring, dom, fileinfo, openssl, json, imagick, swoole, sqlite3
key: cache-v5
name: PHP ${{ matrix.php-versions }} - Laravel ${{ matrix.laravel-version }} - ${{ matrix.operating-system}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup cache environment
id: cache-env
Expand All @@ -34,7 +35,7 @@ jobs:
key: ${{ env.key }}

- name: Cache extensions
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache-env.outputs.dir }}
key: ${{ steps.cache-env.outputs.key }}
Expand Down Expand Up @@ -63,7 +64,7 @@ jobs:
- name: Install dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute tests
run: |
Expand Down
21 changes: 13 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.1 || ^8.2 || ^8.3",
"ext-gd": "*",
"ext-json": "*",
"ext-fileinfo": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"illuminate/support": "^9 || ^10",
"illuminate/encryption": "^9 || ^10",
"illuminate/http": "^9 || ^10",
"illuminate/support": "^9 || ^11",
"illuminate/encryption": "^9 || ^10 || ^11",
"illuminate/http": "^9 || ^10 || ^11",
"tecnickcom/tc-lib-pdf": "^8",
"tecnickcom/tcpdf": "6.4.* || 6.6.*",
"tecnickcom/tcpdf": "^6.4 || ^6.6",
"setasign/fpdi": "^2.3",
"symfony/process": "^6",
"symfony/process": "^6 || ^7",
"intervention/image": "^2.7"
},
"autoload": {
Expand Down Expand Up @@ -69,7 +69,12 @@
"lsnepomuceno/laravel-brazilian-ceps": "A package for querying zip codes for Brazilian addresses."
},
"require-dev": {
"orchestra/testbench": "^8",
"nunomaduro/collision": "^7"
"orchestra/testbench": "^7 || ^8 || ^9",
"nunomaduro/collision": "^6 || ^7 || ^8"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}
Loading

0 comments on commit 5442c49

Please sign in to comment.