Skip to content

Commit

Permalink
Merge pull request #22 from inpsyde/refactor/AT-696
Browse files Browse the repository at this point in the history
[AT-696] Use PHP_VERSION instead of deprecated PHP_MATRIX
  • Loading branch information
gmazzap authored Mar 3, 2024
2 parents c95342f + 8cc23d2 commit ada63e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/php-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ concurrency:
jobs:
lint-php:
uses: inpsyde/reusable-workflows/.github/workflows/lint-php.yml@main
strategy:
matrix:
php: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run lint only')) }}
with:
PHP_MATRIX: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
PHP_VERSION: ${{ matrix.php }}

coding-standards-analysis-php:
if: ${{ (github.event_name != 'workflow_dispatch') || ((github.event.inputs.jobs == 'Run all') || (github.event.inputs.jobs == 'Run PHPCS only')) }}
Expand Down

0 comments on commit ada63e4

Please sign in to comment.