From c5e073aec8816a0cad6b7d07af039c402f295d97 Mon Sep 17 00:00:00 2001 From: "personaclick-courier[bot]" <205635110+personaclick-courier[bot]@users.noreply.github.com> Date: Sat, 24 Jan 2026 14:09:27 +0000 Subject: [PATCH] feat(release): sync --- .github/actions/php/prepare/action.yaml | 6 ++++++ .github/workflows/reusable-php-checks-v2.yaml | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/actions/php/prepare/action.yaml b/.github/actions/php/prepare/action.yaml index 79728a3..1225304 100644 --- a/.github/actions/php/prepare/action.yaml +++ b/.github/actions/php/prepare/action.yaml @@ -2,6 +2,9 @@ name: Setup Core V2 Environment description: Sets up PHP v2 inputs: + working-directory: + description: Where to run + required: false php: description: 'PHP Version' required: false @@ -23,10 +26,12 @@ runs: - name: Validate Composer shell: bash + working-directory: ${{ inputs.working-directory }} run: composer validate - name: Get Composer Cache Directory shell: bash + working-directory: ${{ inputs.working-directory }} id: composer-cache run: | echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT @@ -41,6 +46,7 @@ runs: - name: Install Dependencies uses: nick-invision/retry@v2 + working-directory: ${{ inputs.working-directory }} with: timeout_minutes: 5 max_attempts: 3 diff --git a/.github/workflows/reusable-php-checks-v2.yaml b/.github/workflows/reusable-php-checks-v2.yaml index 105023d..11130ee 100644 --- a/.github/workflows/reusable-php-checks-v2.yaml +++ b/.github/workflows/reusable-php-checks-v2.yaml @@ -30,6 +30,8 @@ jobs: git config --global core.eol lf - uses: personaclick/workflow/.github/actions/php/prepare@master + with: + working-directory: ${{ inputs.working-directory }} - name: Composer Audit run: composer audit @@ -54,6 +56,8 @@ jobs: git config --global core.eol lf - uses: personaclick/workflow/.github/actions/php/prepare@master + with: + working-directory: ${{ inputs.working-directory }} - name: Static Analysis run: composer linter:check -- --error-format=github --ansi @@ -75,6 +79,8 @@ jobs: git config --global core.eol lf - uses: personaclick/workflow/.github/actions/php/prepare@master + with: + working-directory: ${{ inputs.working-directory }} - name: Check Code Style run: composer phpcs:check @@ -113,6 +119,8 @@ jobs: git config --global core.eol lf - uses: personaclick/workflow/.github/actions/php/prepare@master + with: + working-directory: ${{ inputs.working-directory }} - name: Symfony Container Tests run: composer test:container