From 32df80b7b6c8106e7fe7910cefe08f630e000290 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Wed, 17 Jan 2024 18:06:42 +0100 Subject: [PATCH] test(deps): update action/cache to v4 (#1111) --- .github/workflows/example-basic-pnpm.yml | 10 +++++----- .github/workflows/example-install-only.yml | 2 +- README.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/example-basic-pnpm.yml b/.github/workflows/example-basic-pnpm.yml index 06d5e33a2..fb3c850cf 100644 --- a/.github/workflows/example-basic-pnpm.yml +++ b/.github/workflows/example-basic-pnpm.yml @@ -25,7 +25,7 @@ jobs: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} @@ -62,7 +62,7 @@ jobs: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} @@ -92,7 +92,7 @@ jobs: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} @@ -122,7 +122,7 @@ jobs: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} @@ -155,7 +155,7 @@ jobs: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} diff --git a/.github/workflows/example-install-only.yml b/.github/workflows/example-install-only.yml index b9f984acc..ed6f6cbbc 100644 --- a/.github/workflows/example-install-only.yml +++ b/.github/workflows/example-install-only.yml @@ -22,7 +22,7 @@ jobs: # (which is important when using ^ version in package.json) # see https://github.com/actions/cache - name: Cache npm and Cypress 📦 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/Cypress diff --git a/README.md b/README.md index 1e6a71dbe..8977614a3 100644 --- a/README.md +++ b/README.md @@ -1120,7 +1120,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Setup pnpm cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.STORE_PATH }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} @@ -1332,7 +1332,7 @@ If the project has many dependencies, but you want to install just Cypress you c ```yml - uses: actions/checkout@v4 -- uses: actions/cache@v2 +- uses: actions/cache@v4 with: path: | ~/.cache/Cypress