From c91e464e69e51a4b81c52fce19427358532cbdaf Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Wed, 18 Dec 2024 01:17:09 +0000 Subject: [PATCH] Update php-test workflow to permit specifying phpstan location (#17) --- .github/actions/php-test/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/php-test/action.yml b/.github/actions/php-test/action.yml index 011ad19..d63fad1 100644 --- a/.github/actions/php-test/action.yml +++ b/.github/actions/php-test/action.yml @@ -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.' @@ -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'