Skip to content

Commit 45b4f05

Browse files
authored
Add extensions support to lint
1 parent 43d3f25 commit 45b4f05

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on: # yamllint disable-line rule:truthy
88
default: "8.0"
99
required: false
1010
type: "string"
11+
php-extensions:
12+
description: "The php extensions to install, allowing composer to pass"
13+
default: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo"
14+
required: false
15+
type: "string"
1116
composer-options:
1217
description: "Additional flags for the composer validate command."
1318
default: "--ansi --strict"
@@ -45,7 +50,7 @@ jobs:
4550
uses: "shivammathur/setup-php@2.31.1"
4651
with:
4752
coverage: "none"
48-
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo"
53+
extensions: "${{ inputs.php-extensions }}"
4954
php-version: "${{ matrix.php-version }}"
5055

5156
- name: "Validate composer.json and composer.lock"

0 commit comments

Comments
 (0)