diff --git a/.github/workflows/account-analysis.yml b/.github/workflows/account-analysis.yml index 63940017..2c0a80e5 100644 --- a/.github/workflows/account-analysis.yml +++ b/.github/workflows/account-analysis.yml @@ -28,7 +28,7 @@ jobs: - name: Get npm cache directory id: npm-cache-dir run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -53,7 +53,7 @@ jobs: # working-directory: scripts/account-analysis # run: npm install && npm run compile # - name: Cache the account data - # uses: actions/cache@v3 + # uses: actions/cache@v4 # with: # key: account-data-${{ hashFiles('**/package-lock.json') }} # path: | diff --git a/.github/workflows/account-faucet.yml b/.github/workflows/account-faucet.yml index c903498f..770854e6 100644 --- a/.github/workflows/account-faucet.yml +++ b/.github/workflows/account-faucet.yml @@ -34,7 +34,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: | diff --git a/.github/workflows/alphanet_openzeppelin_test.yml b/.github/workflows/alphanet_openzeppelin_test.yml index bbbe393c..c27b08fb 100644 --- a/.github/workflows/alphanet_openzeppelin_test.yml +++ b/.github/workflows/alphanet_openzeppelin_test.yml @@ -22,7 +22,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: | diff --git a/.github/workflows/axon-tests.yml b/.github/workflows/axon-tests.yml index 46e00614..8cd2fdb9 100644 --- a/.github/workflows/axon-tests.yml +++ b/.github/workflows/axon-tests.yml @@ -37,13 +37,13 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Hardhat cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: hardhat-cache with: path: ~/.cache/hardhat-nodejs key: ${{ runner.os }}-hardhat-nodejs-axon - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: | diff --git a/.github/workflows/batch-transactions.yml b/.github/workflows/batch-transactions.yml index 4b0fe7cc..a9d828e2 100644 --- a/.github/workflows/batch-transactions.yml +++ b/.github/workflows/batch-transactions.yml @@ -30,7 +30,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/contract-test.yml b/.github/workflows/contract-test.yml index db615bba..bf8d1af6 100644 --- a/.github/workflows/contract-test.yml +++ b/.github/workflows/contract-test.yml @@ -54,13 +54,13 @@ jobs: id: yarn-cache-dir run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Hardhat cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: hardhat-cache with: path: ~/.cache/hardhat-nodejs key: ${{ runner.os }}-hardhat-nodejs-${{ hashFiles('contracts/package-lock.json', 'testcases/account-abstraction/yarn.lock') }} - name: Node Cache for contracts directory - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: | diff --git a/.github/workflows/deposit_and_withdraw.yml b/.github/workflows/deposit_and_withdraw.yml index d477f3d6..eb3581b5 100644 --- a/.github/workflows/deposit_and_withdraw.yml +++ b/.github/workflows/deposit_and_withdraw.yml @@ -34,7 +34,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/fee-test.yml b/.github/workflows/fee-test.yml index 51db8821..79b752e9 100644 --- a/.github/workflows/fee-test.yml +++ b/.github/workflows/fee-test.yml @@ -23,7 +23,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/regression-contract-test.yml b/.github/workflows/regression-contract-test.yml index 26e9c27d..1d9e1733 100644 --- a/.github/workflows/regression-contract-test.yml +++ b/.github/workflows/regression-contract-test.yml @@ -30,7 +30,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: | diff --git a/.github/workflows/reusable-integration-test-v0.yml b/.github/workflows/reusable-integration-test-v0.yml index f65e7bb4..9da6748f 100644 --- a/.github/workflows/reusable-integration-test-v0.yml +++ b/.github/workflows/reusable-integration-test-v0.yml @@ -81,7 +81,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Rust Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -207,7 +207,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT # FIXME: cache failed # - name: Node Cache - # uses: actions/cache@v3 + # uses: actions/cache@v4 # id: npm-and-yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) # with: # path: | diff --git a/.github/workflows/reusable-integration-test-v1.yml b/.github/workflows/reusable-integration-test-v1.yml index b9fa1290..40fc0d47 100644 --- a/.github/workflows/reusable-integration-test-v1.yml +++ b/.github/workflows/reusable-integration-test-v1.yml @@ -61,7 +61,7 @@ jobs: submodules: 'recursive' - name: Rust Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -157,7 +157,7 @@ jobs: yarn --version echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Node Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: npm-and-yarn-cache with: path: |