From bf342a1c73735413a3c59c70b346ab87ea531618 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 14 May 2024 09:05:05 +0100 Subject: [PATCH] chore: update GitHub action dependencies --- .github/workflows/php.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 7bf3104..da062df 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -19,18 +19,21 @@ jobs: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - name: Validate composer.json and composer.lock run: composer validate --strict - - name: Cache Composer packages + - name: Get Composer Cache Directory id: composer-cache - uses: actions/cache@v3 + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - name: Cache Composer packages + uses: actions/cache@v4 with: - path: vendor + path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-${{ matrix.php-versions }}-