Skip to content

Commit

Permalink
Add extensions support to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio authored Nov 22, 2024
1 parent 43d3f25 commit 45b4f05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on: # yamllint disable-line rule:truthy
default: "8.0"
required: false
type: "string"
php-extensions:
description: "The php extensions to install, allowing composer to pass"
default: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo"
required: false
type: "string"
composer-options:
description: "Additional flags for the composer validate command."
default: "--ansi --strict"
Expand Down Expand Up @@ -45,7 +50,7 @@ jobs:
uses: "shivammathur/setup-php@2.31.1"
with:
coverage: "none"
extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo"
extensions: "${{ inputs.php-extensions }}"
php-version: "${{ matrix.php-version }}"

- name: "Validate composer.json and composer.lock"
Expand Down

0 comments on commit 45b4f05

Please sign in to comment.