diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 6a6cf00..8043472 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -16,7 +16,8 @@ jobs: steps: - uses: actions/checkout@v3 - + - name: CD App + run: cd app - name: Validate composer.json and composer.lock run: composer validate --strict @@ -24,12 +25,10 @@ jobs: id: composer-cache uses: actions/cache@v3 with: - path: app/vendor + path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - - name: CD App - run: cd app - name: Install dependencies run: cd composer install --prefer-dist --no-progress