diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 1a6b41964..a13c3acdc 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -130,7 +130,7 @@ jobs: - name: Get PHP_CodeSniffer cache file pattern id: phpcs-cache run: echo "file=$(php -r "echo sys_get_temp_dir() . '/phpcs.*';")" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.phpcs-cache.outputs.file }} key: phpcs-cache-php${{ matrix.php-version }} @@ -152,7 +152,7 @@ jobs: - name: Get PHPStan result cache directory id: phpstan-cache run: echo "dir=$(php -r "echo sys_get_temp_dir() . '/phpstan';")" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.phpstan-cache.outputs.dir }} key: phpstan-cache-php${{ matrix.php-version }} @@ -174,7 +174,7 @@ jobs: - name: Get PHPStan result cache directory id: phpstan-cache run: echo "dir=$(php -r "echo sys_get_temp_dir() . '/phpstan';")" >> $GITHUB_OUTPUT - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.phpstan-cache.outputs.dir }} key: phpstan-vendor-cache-php${{ matrix.php-version }}