diff --git a/.github/actions/setup-woocommerce-monorepo/action.yml b/.github/actions/setup-woocommerce-monorepo/action.yml index 961caff8dd7..2019210b7a7 100644 --- a/.github/actions/setup-woocommerce-monorepo/action.yml +++ b/.github/actions/setup-woocommerce-monorepo/action.yml @@ -26,7 +26,7 @@ runs: run: | echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: 'Cache PNPM Dependencies' - uses: 'actions/cache@v4' + uses: 'actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319' with: path: ${{ env.PNPM_STORE_PATH }} key: "${{ runner.os }}-pnpm-${{ hashFiles( '**/pnpm-lock.yaml' ) }}" @@ -45,7 +45,7 @@ runs: coverage: 'none' - name: 'Cache Composer Dependencies' if: ${{ inputs.php-version != 'false' }} - uses: 'actions/cache@v4' + uses: 'actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319' with: path: '~/.cache/composer/files' key: "${{ runner.os }}-composer-${{ hashFiles( '**/composer.lock' ) }}"