You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Specifying `8.3` and `8.4` in `php-version` input installs a nightly build of `PHP 8.3.0-dev` and `PHP 8.4.0-dev` respectively. See [nightly build setup](#nightly-build-setup) for more information.
126
+
- Specifying `8.4` in `php-version` input installs a nightly build of `PHP 8.4.0-dev`. See [nightly build setup](#nightly-build-setup) for more information.
127
127
- To use JIT on `PHP 8.0` and above, refer to the [JIT configuration](#jit-configuration) section.
128
128
129
129
## :heavy_plus_sign: PHP Extension Support
@@ -136,7 +136,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
136
136
- name: Setup PHP with PECL extension
137
137
uses: shivammathur/setup-php@v2
138
138
with:
139
-
php-version: '8.2'
139
+
php-version: '8.3'
140
140
extensions: imagick, swoole
141
141
```
142
142
@@ -164,7 +164,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
164
164
- name: Setup PHP with pre-release PECL extension
165
165
uses: shivammathur/setup-php@v2
166
166
with:
167
-
php-version: '8.2'
167
+
php-version: '8.3'
168
168
extensions: xdebug-beta
169
169
```
170
170
@@ -176,7 +176,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
176
176
- name: Setup PHP and disable opcache
177
177
uses: shivammathur/setup-php@v2
178
178
with:
179
-
php-version: '8.2'
179
+
php-version: '8.3'
180
180
extensions: :opcache
181
181
```
182
182
@@ -188,7 +188,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
188
188
- name: Setup PHP without any shared extensions except mbstring
189
189
uses: shivammathur/setup-php@v2
190
190
with:
191
-
php-version: '8.2'
191
+
php-version: '8.3'
192
192
extensions: none, mbstring
193
193
```
194
194
@@ -198,7 +198,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
198
198
- name: Setup PHP with intl
199
199
uses: shivammathur/setup-php@v2
200
200
with:
201
-
php-version: '8.2'
201
+
php-version: '8.3'
202
202
extensions: intl-70.1
203
203
```
204
204
@@ -215,7 +215,7 @@ PHP extensions can be set up using the `extensions` input. It accepts a `string`
215
215
- name: Setup PHP with fail-fast
216
216
uses: shivammathur/setup-php@v2
217
217
with:
218
-
php-version: '8.2'
218
+
php-version: '8.3'
219
219
extensions: oci8
220
220
env:
221
221
fail-fast: true
@@ -231,7 +231,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
231
231
- name: Setup PHP with tools
232
232
uses: shivammathur/setup-php@v2
233
233
with:
234
-
php-version: '8.2'
234
+
php-version: '8.3'
235
235
tools: php-cs-fixer, phpunit
236
236
```
237
237
@@ -241,7 +241,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
241
241
- name: Setup PHP with tools
242
242
uses: shivammathur/setup-php@v2
243
243
with:
244
-
php-version: '8.2'
244
+
php-version: '8.3'
245
245
tools: vimeo/psalm
246
246
```
247
247
@@ -261,8 +261,8 @@ These tools can be set up globally using the `tools` input. It accepts a string
261
261
- name: Setup PHP with tools
262
262
uses: shivammathur/setup-php@v2
263
263
with:
264
-
php-version: '8.2'
265
-
tools: php-cs-fixer:3.5, phpunit:9.5
264
+
php-version: '8.3'
265
+
tools: php-cs-fixer:3.39, phpunit:10.4
266
266
env:
267
267
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
268
268
```
@@ -273,7 +273,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
273
273
- name: Setup PHP with composer v2
274
274
uses: shivammathur/setup-php@v2
275
275
with:
276
-
php-version: '8.2'
276
+
php-version: '8.3'
277
277
tools: composer:v2
278
278
```
279
279
@@ -283,7 +283,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
283
283
- name: Setup PHP without composer
284
284
uses: shivammathur/setup-php@v2
285
285
with:
286
-
php-version: '8.2'
286
+
php-version: '8.3'
287
287
tools: none
288
288
```
289
289
@@ -299,7 +299,7 @@ These tools can be set up globally using the `tools` input. It accepts a string
299
299
- name: Setup PHP with fail-fast
300
300
uses: shivammathur/setup-php@v2
301
301
with:
302
-
php-version: '8.2'
302
+
php-version: '8.3'
303
303
tools: deployer
304
304
env:
305
305
fail-fast: true
@@ -322,7 +322,7 @@ Runs on all [PHP versions supported](#tada-php-support "List of PHP versions sup
322
322
- name: Setup PHP with Xdebug
323
323
uses: shivammathur/setup-php@v2
324
324
with:
325
-
php-version: '8.2'
325
+
php-version: '8.3'
326
326
coverage: xdebug
327
327
```
328
328
@@ -350,7 +350,7 @@ Runs on PHP 7.1 and newer PHP versions.
350
350
- name: Setup PHP with PCOV
351
351
uses: shivammathur/setup-php@v2
352
352
with:
353
-
php-version: '8.2'
353
+
php-version: '8.3'
354
354
ini-values: pcov.directory=api #optional, see above for usage.
355
355
coverage: pcov
356
356
```
@@ -380,7 +380,7 @@ Disable coverage for these reasons:
380
380
- name: Setup PHP with no coverage driver
381
381
uses: shivammathur/setup-php@v2
382
382
with:
383
-
php-version: '8.2'
383
+
php-version: '8.3'
384
384
coverage: none
385
385
```
386
386
@@ -453,7 +453,7 @@ On GitHub Actions you can assign the `setup-php` step an `id`, you can use the s
Run the workflow locally with `act` using [`shivammathur/node`](https://github.com/shivammathur/node-docker "Docker image to run setup-php") docker images.
@@ -723,7 +723,7 @@ For example to enable JIT in `tracing` mode with buffer size of `64 MB`.
0 commit comments