From 33d196ff4579043f0bea9a2b3c1b45e1f56b130b Mon Sep 17 00:00:00 2001 From: Yurii Date: Sat, 9 Mar 2024 21:06:36 +0200 Subject: [PATCH] FIX: code-format-check(added Update Psalm Configuration for GitHub Actions) --- .github/workflows/code-format-check.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-format-check.yml b/.github/workflows/code-format-check.yml index d510564..8d2494d 100644 --- a/.github/workflows/code-format-check.yml +++ b/.github/workflows/code-format-check.yml @@ -28,6 +28,9 @@ jobs: - name: Run PHP_CodeSniffer run: php ./vendor/bin/phpcs --standard=./configs/phpcs.xml ./app + - name: Update Psalm Configuration for GitHub Actions + run: | + sed -i 's|../psalm/stubs.php|/home/runner/work/CodeIgniter4-template/CodeIgniter4-template/psalm/stubs.php|' ./configs/psalm.xml + - name: Run Psalm - run: php ./vendor/bin/psalm --config=./configs/psalm.xml - working-directory: ${{ github.workspace }} + run: php ./vendor/bin/psalm --config=./configs/psalm.xml \ No newline at end of file