File tree Expand file tree Collapse file tree 4 files changed +19
-22
lines changed
Expand file tree Collapse file tree 4 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 tests :
9+ name : tests (PHP ${{ matrix.php-version }}) (Symfony ${{ matrix.symfony-version }})
910
1011 runs-on : ubuntu-latest
1112
1213 strategy :
14+ max-parallel : 10
1315 fail-fast : false
1416 matrix :
15- php-version : [ '8.2', '8.3', '8.4' ]
17+ php-version : [ '8.1', '8.2', '8.3', '8.4' ]
18+ symfony-version : [ '6.4.*', '7.2.*' ]
19+ exclude :
20+ - php-version : ' 8.1'
21+ symfony-version : ' 7.2.*'
1622
1723 steps :
1824 - uses : actions/checkout@v4
1925
20- - name : php-setup
26+ - name : ' Set up PHP '
2127 uses : shivammathur/setup-php@v2
2228 with :
2329 php-version : ${{ matrix.php-version }}
2430 coverage : xdebug
2531
26- - name : composer-validate
27- run : composer validate
28-
29- - name : composer-cache
30- id : composer-cache
31- uses : actions/cache@v4
32+ - name : ' Install Composer dependencies'
33+ env :
34+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
35+ uses : ramsey/composer-install@v3
3236 with :
33- path : vendor
34- key : ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
35- restore-keys : |
36- ${{ runner.os }}-${{ matrix.php-version }}-composer-
37-
38- - name : composer-install
39- if : steps.composer-cache.outputs.cache-hit != 'true'
40- run : composer install --prefer-dist --no-progress --no-suggest
37+ composer-options : ' --optimize-autoloader'
4138
42- - name : php-cs-fixer
39+ - name : ' Run PHP-CS-Fixer '
4340 run : PHP_CS_FIXER_IGNORE_ENV=1 composer cs
4441
45- - name : phpunit
42+ - name : ' Run PHPUnit '
4643 run : composer test
Original file line number Diff line number Diff line change 11[ ![ Tests] ( https://img.shields.io/github/actions/workflow/status/tales-from-a-dev/flowbite-bundle/ci.yml?label=tests&style=for-the-badge )] ( https://github.com/tales-from-a-dev/flowbite-bundle/actions/workflows/ci.yml )
2- ![ PHP Version] ( https://img.shields.io/badge/php->=8.2 -4f5b93.svg?style=for-the-badge )
2+ ![ PHP Version] ( https://img.shields.io/badge/php->=8.1 -4f5b93.svg?style=for-the-badge )
33![ Symfony Version] ( https://img.shields.io/badge/symfony->=6.4-000.svg?style=for-the-badge )
44[ ![ Flowbite Version] ( https://img.shields.io/badge/flowbite->=1.6-1c64f2.svg?style=for-the-badge )] ( https://flowbite.com )
55[ ![ Packagist Version] ( https://img.shields.io/packagist/v/tales-from-a-dev/flowbite-bundle?style=for-the-badge )] ( https://packagist.org/packages/tales-from-a-dev/flowbite-bundle )
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " >=8.2 " ,
21+ "php" : " >=8.1 " ,
2222 "symfony/http-kernel" : " ^6.4 || ^7.0" ,
2323 "symfony/twig-bridge" : " ^6.4 || ^7.0" ,
24- "tales-from-a-dev/twig-tailwind-extra" : " ^0.3 "
24+ "tales-from-a-dev/twig-tailwind-extra" : " ^0.4 "
2525 },
2626 "require-dev" : {
2727 "friendsofphp/php-cs-fixer" : " ^3.15" ,
Original file line number Diff line number Diff line change 22
33## Prerequisites
44
5- This bundle requires ** PHP 8.2 +** , ** Symfony 6.4+** and ** Flowbite 1.6+** .
5+ This bundle requires ** PHP 8.1 +** , ** Symfony 6.4+** and ** Flowbite 1.6+** .
66
77## Installation
88
You can’t perform that action at this time.
0 commit comments