From 6a1e7721dc5fbfcc860d3c1e868c762e78befe5b Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sun, 28 Jan 2024 17:26:04 +0100 Subject: [PATCH] ci(deps): update actions/cache to v4 --- .github/workflows/parallel.yml | 14 +++++++------- .github/workflows/single.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml index 5ab36cb50..6188f62ac 100644 --- a/.github/workflows/parallel.yml +++ b/.github/workflows/parallel.yml @@ -35,7 +35,7 @@ jobs: # we use exact restore key to avoid NPM module snowballing # https://glebbahmutov.com/blog/do-not-let-npm-cache-snowball/ - name: Cache central NPM modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -45,7 +45,7 @@ jobs: # we use the exact restore key to avoid Cypress binary snowballing # https://glebbahmutov.com/blog/do-not-let-cypress-cache-snowball/ - name: Cache Cypress binary - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: cypress-${{ runner.os }}-cypress-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -54,7 +54,7 @@ jobs: # Cache local node_modules to pass to testing jobs - name: Cache local node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -90,7 +90,7 @@ jobs: # Restore just local node_modules and the Cypress binary archives. - name: Cache Cypress binary - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: cypress-${{ runner.os }}-cypress-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -98,7 +98,7 @@ jobs: cypress-${{ runner.os }}-cypress-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} - name: Cache local node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -149,7 +149,7 @@ jobs: # Restore just local node_modules and the Cypress binary archives. - name: Cache Cypress binary - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: cypress-${{ runner.os }}-cypress-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} @@ -157,7 +157,7 @@ jobs: cypress-${{ runner.os }}-cypress-${{ github.ref }}- - name: Cache local node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ github.ref }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/single.yml b/.github/workflows/single.yml index c113ef1c0..25c8fcc2b 100644 --- a/.github/workflows/single.yml +++ b/.github/workflows/single.yml @@ -29,13 +29,13 @@ jobs: # and saved automatically after the entire workflow successfully finishes. # See https://github.com/actions/cache - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - name: Cache Cypress binary - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/Cypress key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package-lock.json') }}