Skip to content

Commit 0f3797b

Browse files
committed
Split out Psalm static analysis job to separate job
1 parent f04524f commit 0f3797b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,23 @@ jobs:
458458
- name: Check coding syntax/standards (PHP CodeSniffer)
459459
run: vendor/bin/phpcs --colors --cache=build/cache/phpcs.cache packages --standard=PSR2 --extensions="php" --ignore="*test.php,*.blade.php,ValidationService.php" || true
460460

461+
462+
run-static-analysis-psalm:
463+
runs-on: ubuntu-latest
464+
steps:
465+
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d
466+
with:
467+
php-version: "8.1"
468+
- uses: actions/checkout@v3
469+
470+
- name: Install Composer Dependencies
471+
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
472+
461473
- name: Run static analysis (Psalm/Shepherd)
462474
run: vendor/bin/psalm --shepherd || true
463475

464476

465-
run-static-analysis:
477+
run-static-analysis-phpstan:
466478
runs-on: ubuntu-latest
467479
steps:
468480
- uses: shivammathur/setup-php@16011a795d747d5f45038f96371c3b98aec5669d

0 commit comments

Comments
 (0)