Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/static-analysis-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
default: '--prefer-dist'
required: false
type: string
DEPENDENCY_VERSIONS:
description: Whether the job should install the locked, highest, or lowest versions of Composer dependencies.
default: 'locked'
required: false
type: string
PSALM_ARGS:
description: Set of arguments passed to Psalm.
default: '--output-format=github --no-cache'
Expand Down Expand Up @@ -66,6 +71,7 @@ jobs:
COMPOSER_AUTH: '${{ secrets.COMPOSER_AUTH_JSON }}'
with:
composer-options: ${{ inputs.COMPOSER_ARGS }}
dependency-versions: ${{ inputs.DEPENDENCY_VERSIONS }}

- name: Run Psalm
if: ${{ hashFiles('psalm.xml', 'psalm.xml.dist') != '' }}
Expand Down
Loading