|
19 | 19 | matrix: |
20 | 20 | operating-system: [ ubuntu-latest ] |
21 | 21 | php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] |
22 | | - symfony-require: ['^4', '^5', '^6', '^7'] |
| 22 | + symfony-require: ['^4', '^5', '^6', '^7', '^8'] |
23 | 23 | composer-flags: [ '' ] |
24 | 24 | exclude: |
25 | 25 | - symfony-require: "^6" |
|
30 | 30 | php-version: "8.0" |
31 | 31 | - symfony-require: "^7" |
32 | 32 | php-version: "8.1" |
| 33 | + - symfony-version: '^8' |
| 34 | + php-version: '7.4' |
| 35 | + - symfony-version: '^8' |
| 36 | + php-version: '8.0' |
| 37 | + - symfony-version: '^8' |
| 38 | + php-version: '8.1' |
| 39 | + - symfony-version: '^8' |
| 40 | + php-version: '8.2' |
| 41 | + - symfony-version: '^8' |
| 42 | + php-version: '8.3' |
| 43 | + |
33 | 44 | include: |
34 | 45 | - { operating-system: 'ubuntu-latest', php-version: '7.4', symfony-require: '^5', composer-flags: '--prefer-lowest' } |
35 | 46 | - { operating-system: 'windows-latest', php-version: '8.0', symfony-require: '^5' } |
|
38 | 49 |
|
39 | 50 | steps: |
40 | 51 | - name: Checkout code |
41 | | - uses: actions/checkout@v4 |
| 52 | + uses: actions/checkout@v5 |
42 | 53 |
|
43 | 54 | - name: Setup PHP |
44 | 55 | uses: shivammathur/setup-php@v2 |
|
51 | 62 | run: echo "::set-output name=dir::$(composer config cache-files-dir)" |
52 | 63 |
|
53 | 64 | - name: Cache dependencies |
54 | | - uses: actions/cache@v3 |
| 65 | + uses: actions/cache@v4 |
55 | 66 | with: |
56 | 67 | path: ${{ steps.composer-cache.outputs.dir }} |
57 | 68 | key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-${{ matrix.dependencies }} |
|
64 | 75 | - name: Configure Symfony Flex |
65 | 76 | run: composer config extra.symfony.require ${{ matrix.symfony-require }} |
66 | 77 |
|
67 | | - - name: Set minimum-stability dev |
68 | | - if: matrix.symfony-require == '^7' |
69 | | - run: composer config minimum-stability dev |
70 | | - |
71 | 78 | - name: Install dependencies |
72 | 79 | run: composer update --optimize-autoloader --no-interaction --no-progress --prefer-dist ${{ matrix.composer-flags }} |
73 | 80 |
|
|
0 commit comments