|
22 | 22 |
|
23 | 23 | strategy:
|
24 | 24 | matrix:
|
25 |
| - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] |
| 25 | + php: ['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: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] |
| 80 | + php: ['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:
|
|
87 | 87 |
|
88 | 88 | name: "PHP: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }}"
|
89 | 89 |
|
90 |
| - continue-on-error: ${{ matrix.php == '8.2' }} |
| 90 | + continue-on-error: ${{ matrix.php == '8.4' }} |
91 | 91 |
|
92 | 92 | steps:
|
93 | 93 | - name: Checkout code
|
@@ -115,11 +115,20 @@ jobs:
|
115 | 115 | # Install dependencies and handle caching in one go.
|
116 | 116 | # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
|
117 | 117 | - name: Install Composer dependencies
|
| 118 | + if: ${{ matrix.php != '8.4' }} |
118 | 119 | uses: "ramsey/composer-install@v2"
|
119 | 120 | with:
|
120 | 121 | # Bust the cache at least once a month - output format: YYYY-MM.
|
121 | 122 | custom-cache-suffix: $(date -u "+%Y-%m")
|
122 | 123 |
|
| 124 | + # For PHP "nightly", we install with ignore platform reqs. |
| 125 | + - name: Install Composer dependencies - with ignore platform |
| 126 | + if: ${{ matrix.php == '8.4' }} |
| 127 | + uses: "ramsey/composer-install@v2" |
| 128 | + with: |
| 129 | + composer-options: --ignore-platform-req=php |
| 130 | + custom-cache-suffix: $(date -u "+%Y-%m") |
| 131 | + |
123 | 132 | # Note: The code style check is run multiple times against every PHP version
|
124 | 133 | # as it also acts as an integration test.
|
125 | 134 | - name: 'PHPCS: set the path to PHP'
|
|
0 commit comments