Skip to content

Commit 6d6f852

Browse files
committed
Fix GHA CI Workdir
1 parent 750b565 commit 6d6f852

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/ci-php-command-action/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ runs:
7070
--pull=missing \
7171
--env COMPOSER_CACHE_DIR="build/composer" \
7272
--volume ${{ github.workspace }}:/app \
73+
--workdir /app \
7374
composer:latest \
7475
${{ inputs.composer_command }}
7576
@@ -86,5 +87,6 @@ runs:
8687
--user="$(id -u):$(id -g)" \
8788
--pull=missing \
8889
--volume ${{ github.workspace }}:/app \
90+
--workdir /app \
8991
php:${{ inputs.php-version }}-cli-alpine \
9092
${{ inputs.command }}

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: ./.github/actions/ci-php-command-action
2828
with:
2929
display: PHP_CodeSniffer
30-
cache: build/phpcs
30+
cache: build
3131
command: php vendor/bin/phpcs --parallel=$(nproc --ignore=2) --report=full
3232

3333
phpstan:

0 commit comments

Comments
 (0)