File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 test :
8-
98 runs-on : ubuntu-22.04
9+
1010 strategy :
1111 fail-fast : false
1212 matrix :
1313 php :
14- # - '7.4'
1514 - ' 8.0'
1615 - ' 8.1'
1716 - ' 8.2'
1817 - ' 8.3'
1918 - ' 8.4'
20- deps :
21- - ' highest'
22- - ' lowest'
19+ symfony_version :
20+ - ' 5.4.*'
21+ - ' 6.0.*'
22+ - ' 6.1.*'
23+ - ' 6.2.*'
24+ - ' 6.3.*'
25+ - ' 6.4.*'
2326 exclude :
24- - php : ' 8.4'
25- deps : ' lowest'
26-
27+ # symfony 6.1+ requires PHP 8.1+
28+ - php : ' 8.0'
29+ symfony_version : ' 6.1.*'
30+ - php : ' 8.0'
31+ symfony_version : ' 6.2.*'
32+ - php : ' 8.0'
33+ symfony_version : ' 6.3.*'
34+ - php : ' 8.0'
35+ symfony_version : ' 6.4.*'
36+ # deps:
37+ # - 'highest'
38+ # - 'lowest'
39+
2740 steps :
2841 - uses : actions/checkout@v4
2942
@@ -42,22 +55,27 @@ jobs:
4255 working-directory : ./
4356
4457 - name : cache dependencies
45- id : cache -dependencies
58+ id : angular -dependencies
4659 uses : actions/cache@v4
4760 with :
4861 path : ${{ steps.composer-cache.outputs.dir }}
4962 key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer-${{ hashFiles('**/composer.lock') }}
5063 restore-keys : |
5164 ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer-
5265
66+ - name : Set Symfony minor version
67+ run : |
68+ sed -i 's|\("symfony/.*"\): ".*"|\1: "${{ matrix.symfony_version }}"|' composer.json
69+ working-directory : ./
70+
5371 - name : Validate composer.json and composer.lock
5472 run : composer validate
5573 working-directory : ./
5674
5775 - name : Install dependencies
5876 uses : ramsey/composer-install@v3
5977 with :
60- dependency-versions : ' ${{ matrix.deps }}'
78+ # dependency-versions: '${{ matrix.deps }}'
6179 working-directory : ./
6280
6381 - name : Run Tests
You can’t perform that action at this time.
0 commit comments