File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 33on :
44 workflow_dispatch :
55 push :
6- branches :
7- - main
86 pull_request :
97
108jobs :
1715 - uses : actions/checkout@v4
1816 - uses : shivammathur/setup-php@v2
1917 with :
20- php-version : 8.2
18+ php-version : 8.4
2119 - run : composer install --prefer-dist --no-progress
2220 - name : Run ecs check
2321 run : |
@@ -31,36 +29,44 @@ jobs:
3129 - uses : actions/checkout@v4
3230 - uses : shivammathur/setup-php@v2
3331 with :
34- php-version : 8.2
32+ php-version : 8.4
3533 - run : composer install --prefer-dist --no-progress
3634 - name : Run rector --dry-run
3735 run : |
3836 vendor/bin/rector --memory-limit=1G --no-progress-bar --dry-run
3937 phpstan :
4038 name : PHPStan
4139 runs-on : ubuntu-latest
40+ strategy :
41+ fail-fast : false
42+ matrix :
43+ php : [8.1, 8.2, 8.3, 8.4]
4244 env :
4345 DEFAULT_COMPOSER_FLAGS : " --no-interaction --no-ansi --no-progress"
4446 steps :
4547 - uses : actions/checkout@v4
4648 - uses : shivammathur/setup-php@v2
4749 with :
48- php-version : 8.2
50+ php-version : ${{ matrix.php }}
4951 - run : composer install --prefer-dist --no-progress
5052 - name : Run phpstan
5153 run : |
5254 vendor/bin/phpstan --memory-limit=1G
5355 pest :
5456 name : Pest
5557 runs-on : ubuntu-latest
58+ strategy :
59+ fail-fast : false
60+ matrix :
61+ php : [8.1, 8.2, 8.3, 8.4]
5662 env :
5763 DEFAULT_COMPOSER_FLAGS : " --no-interaction --no-ansi --no-progress"
5864 steps :
5965 - uses : actions/checkout@v4
6066 - uses : shivammathur/setup-php@v2
6167 with :
62- php-version : 8.2
68+ php-version : ${{ matrix.php }}
6369 - run : composer install --prefer-dist --no-progress
6470 - name : Run pest
6571 run : |
66- vendor/bin/pest
72+ vendor/bin/pest
Original file line number Diff line number Diff line change 1818 "docs" : " https://github.com/smallpics/smallpics-php/blob/main/README.md"
1919 },
2020 "require" : {
21- "php" : " >=8.2 .0"
21+ "php" : " >=8.1 .0"
2222 },
2323 "require-dev" : {
2424 "fostercommerce/ecs" : " dev-main" ,
You can’t perform that action at this time.
0 commit comments