Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
Added support for 3 version of the andrey-helldar/support package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Mar 23, 2021
1 parent 76ae759 commit 2843081
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
matrix:
php: [ "7.3", "7.4", "8.0" ]
laravel: [ "7.0", "8.0" ]
support: [ "2.0", "3.0" ]

name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}
name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}

steps:
- name: Checkout code
Expand All @@ -29,7 +30,7 @@ jobs:

- name: Install dependencies
run: |
composer require laravel/framework:^${{ matrix.laravel }}
composer require laravel/framework:^${{ matrix.laravel }} andrey-helldar/support:^${{ matrix.support }}
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
- name: Execute tests
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
matrix:
php: [ "7.3", "7.4", "8.0" ]
symfony: [ "4.0", "5.0" ]
support: [ "2.0", "3.0" ]

name: Symfony ${{ matrix.symfony }}, PHP ${{ matrix.php }}
name: Symfony ${{ matrix.symfony }}, PHP ${{ matrix.php }}, Support ${{ matrix.support }}

steps:
- name: Checkout code
Expand All @@ -29,7 +30,7 @@ jobs:

- name: Install dependencies
run: |
composer require symfony/http-foundation:^${{ matrix.symfony }}
composer require symfony/http-foundation:^${{ matrix.symfony }} andrey-helldar/support:^${{ matrix.support }}
composer update --prefer-stable --prefer-dist --no-progress --no-interaction
- name: Execute tests
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": "^7.2.5|^8.0",
"ext-json": "*",
"andrey-helldar/support": "^2.16.2",
"andrey-helldar/support": "^2.16.2|^3.0",
"symfony/http-foundation": "^4.0|^5.0"
},
"require-dev": {
Expand Down

0 comments on commit 2843081

Please sign in to comment.