Skip to content

Commit

Permalink
Update php-test workflow to permit specifying phpstan location
Browse files Browse the repository at this point in the history
  • Loading branch information
admdly committed Dec 18, 2024
1 parent 4b4edf3 commit 89d8bbe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/php-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ inputs:
description: 'The version of PHPStan to use.'
default: 'latest'
required: false
phpstan-vendor-path:
description: 'The path to the vendored PHPStan binary.'
default: './vendor/bin/phpstan'
required: false
# PHPUnit options
phpunit-enable:
description: 'Whether to enable PHPUnit.'
Expand All @@ -50,6 +54,7 @@ runs:
memory_limit: ${{ inputs.phpstan-memory-limit }}
php_version: ${{ inputs.phpstan-php-version }}
version: ${{ inputs.phpstan-version }}
vendored_phpstan_path: ${{ inputs.phpstan-vendor-path }}
php_extensions: intl

- name: 'PHPUnit'
Expand Down

0 comments on commit 89d8bbe

Please sign in to comment.