File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- name : PHP ${{ matrix.php-versions }}
11+ name : PHP ${{ matrix.php-versions }} (${{ matrix.deps }})
1212 runs-on : ubuntu-latest
1313 strategy :
1414 fail-fast : false
1515 matrix :
1616 php-versions : ['8.2', '8.3', '8.4']
17+ deps : ['latest', 'lowest']
1718 steps :
1819 - name : Setup PHP Action
1920 uses : shivammathur/setup-php@v2
2425 - name : Checkout
2526 uses : actions/checkout@v2
2627 - run : " composer validate"
27- - name : " Install dependencies"
28- run : " composer install --prefer-dist"
28+ - name : " Install dependencies (latest)"
29+ if : matrix.deps == 'latest'
30+ run : " composer install --no-interaction --no-progress --prefer-dist"
31+ - name : " Install dependencies (lowest)"
32+ if : matrix.deps == 'lowest'
33+ run : " composer update --no-interaction --no-progress --prefer-dist --prefer-lowest --prefer-stable"
2934 - name : " CS Check"
3035 run : " composer cs-check"
3136 - name : " Code analyze"
Original file line number Diff line number Diff line change 2525 ],
2626 "require" : {
2727 "php" : " ^8.2" ,
28- "webmozart/assert" : " ^1.11"
28+ "webmozart/assert" : " ^1.11 || ^2.1 "
2929 },
3030 "conflict" : {
3131 "mezzio/mezzio" : " <3.0" ,
You can’t perform that action at this time.
0 commit comments