From cb23c985847a047667ad1817b67d9ebfc29e15ff Mon Sep 17 00:00:00 2001 From: Sid Roberts Date: Tue, 19 Aug 2025 07:54:08 +0900 Subject: [PATCH] Updated to actions/cache@v4 for GitHub workflows. https://github.com/actions/cache/discussions/1510 --- .github/workflows/codecov.yml | 8 ++++---- .github/workflows/test.yml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 5938a11d3a..1a179420b5 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v2 - name: cache package-lock.json - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} @@ -27,7 +27,7 @@ jobs: - name: cache node_modules id: node_modules_cache_id - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} @@ -52,13 +52,13 @@ jobs: # submodules: true - name: restore cache from package-lock.json - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} - name: restore cache from node_modules - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a37ba8fe02..07be83addf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: uses: actions/checkout@v2 - name: cache package-lock.json - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} @@ -27,7 +27,7 @@ jobs: - name: cache node_modules id: node_modules_cache_id - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} @@ -43,25 +43,25 @@ jobs: uses: actions/checkout@v2 - name: restore cache from package-lock.json - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} - name: restore cache from node_modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} - name: cache lib - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: lib key: lib-${{ github.sha }} - name: cache es - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: es key: es-${{ github.sha }} @@ -77,13 +77,13 @@ jobs: uses: actions/checkout@v2 - name: restore cache from package-lock.json - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} - name: restore cache from node_modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} @@ -99,13 +99,13 @@ jobs: uses: actions/checkout@v2 - name: restore cache from package-lock.json - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: package-temp-dir key: lock-${{ github.sha }} - name: restore cache from node_modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}