|
22 | 22 |
|
23 | 23 | strategy: |
24 | 24 | matrix: |
25 | | - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] |
| 25 | + php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] |
26 | 26 |
|
27 | 27 | name: "Build Phar on PHP: ${{ matrix.php }}" |
28 | 28 |
|
|
77 | 77 | # - custom_ini: Whether to run with specific custom ini settings to hit very specific |
78 | 78 | # code conditions. |
79 | 79 | matrix: |
80 | | - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] |
| 80 | + php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] |
81 | 81 | custom_ini: [false] |
82 | 82 |
|
83 | 83 | include: |
|
89 | 89 |
|
90 | 90 | name: "PHP: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }}" |
91 | 91 |
|
92 | | - continue-on-error: ${{ matrix.php == '8.2' }} |
| 92 | + continue-on-error: ${{ matrix.php == '8.4' }} |
93 | 93 |
|
94 | 94 | steps: |
95 | 95 | - name: Checkout code |
@@ -132,11 +132,20 @@ jobs: |
132 | 132 | # Install dependencies and handle caching in one go. |
133 | 133 | # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer |
134 | 134 | - name: Install Composer dependencies |
| 135 | + if: ${{ matrix.php != '8.4' }} |
135 | 136 | uses: "ramsey/composer-install@v2" |
136 | 137 | with: |
137 | 138 | # Bust the cache at least once a month - output format: YYYY-MM. |
138 | 139 | custom-cache-suffix: $(date -u "+%Y-%m") |
139 | 140 |
|
| 141 | + # For PHP "nightly", we install with ignore platform reqs. |
| 142 | + - name: Install Composer dependencies - with ignore platform |
| 143 | + if: ${{ matrix.php == '8.4' }} |
| 144 | + uses: "ramsey/composer-install@v2" |
| 145 | + with: |
| 146 | + composer-options: --ignore-platform-req=php |
| 147 | + custom-cache-suffix: $(date -u "+%Y-%m") |
| 148 | + |
140 | 149 | # Note: The code style check is run multiple times against every PHP version |
141 | 150 | # as it also acts as an integration test. |
142 | 151 | - name: 'PHPCS: set the path to PHP' |
|
0 commit comments