diff --git a/.github/workflows/larastan.yml b/.github/workflows/larastan.yml index 7bb363a..af291a0 100644 --- a/.github/workflows/larastan.yml +++ b/.github/workflows/larastan.yml @@ -27,7 +27,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Restore Composer cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.cache-composer.outputs.dir }} key: ${{ runner.os }}-${{ github.ref_name }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 85a94e5..a5f6644 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -22,7 +22,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Restore Composer cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.cache-composer.outputs.dir }} key: ${{ runner.os }}-${{ github.ref_name }}-composer-${{ hashFiles('**/composer.lock') }} @@ -33,7 +33,7 @@ jobs: COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} - name: Cache yarn dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: yarn-${{ hashFiles('yarn.lock') }}