Skip to content

Commit

Permalink
Supports Laravel 10 (#11)
Browse files Browse the repository at this point in the history
* Supports Laravel 10

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 17, 2023
1 parent af22346 commit caaf7a6
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 9 deletions.
99 changes: 94 additions & 5 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,107 @@ on:
- cron: '0 0 * * 3'

jobs:
audit-dependencies:
audit-dependencies-on-laravel-10:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- "7.3"
- "7.4"
- "8.0"
- "8.1"
- 8.1
- 8.2
laravel:
- "10.x"
experimental:
- false

name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Install Laravel ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --prefer-stable --no-cache"

- name: Installed dependencies
run: composer show -D

- name: Audit dependencies
run: composer audit

audit-dependencies-on-laravel-9:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- '8.0'
- 8.1
- 8.2
laravel:
- "9.x"
experimental:
- false

name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Install Laravel ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --prefer-stable --no-cache"

- name: Installed dependencies
run: composer show -D

- name: Audit dependencies
run: composer audit

audit-dependencies-on-laravel-8:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 7.3
- 7.4
- '8.0'
- 8.1
laravel:
- "8.x"
experimental:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os:
- "ubuntu-latest"
php:
- "8.0"
- '8.0'
laravel:
- "9.x"
dependencies:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- 8.2
laravel:
- "9.x"
- "10.x"
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
laravel:
- "8.x"
- "9.x"
- "10.x"
dependencies:
- "highest"
- "lowest"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- 8.2
laravel:
- "9.x"
- "10.x"
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -69,6 +70,7 @@ jobs:
laravel:
- "8.x"
- "9.x"
- "10.x"
dependencies:
- "highest"
- "lowest"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This changelog references the relevant changes (bug and security fixes) done to `laravie/serialize-queries`.

## 2.2.0

Released: 2023-01-17

### Changes

* Added support for Laravel Framework v10.

## 2.1.0

Released: 2022-11-23
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
},
"require": {
"php": "^7.3 || ^8.0",
"illuminate/database": "^8.67 || ^9.44",
"illuminate/queue": "^8.67 || ^9.44"
"illuminate/database": "^8.67 || ^9.44 || ^10.0",
"illuminate/queue": "^8.67 || ^9.44 || ^10.0"
},
"require-dev": {
"orchestra/testbench": "^6.22 || ^7.16",
"orchestra/testbench": "^6.22 || ^7.16 || ^8.0",
"phpstan/phpstan": "^1.8"
},
"config": {
Expand Down

0 comments on commit caaf7a6

Please sign in to comment.