diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index d21fc7027..b1e80c2ae 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -20,42 +20,42 @@ jobs: # Save caches individually - name: Core Cache id: core-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-core/node_modules key: ${{ runner.os }}-core-cache-${{ hashFiles('solidity/optics-core/package-lock.json') }} - name: XApps Cache id: xapps-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-xapps/node_modules key: ${{ runner.os }}-xapps-cache-${{ hashFiles('solidity/optics-xapps/package-lock.json') }} - name: Tests Cache id: tests-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-tests/node_modules key: ${{ runner.os }}-tests-cache-${{ hashFiles('typescript/optics-tests/package-lock.json') }} - name: Deploy Cache id: deploy-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-deploy/node_modules key: ${{ runner.os }}-deploy-cache-${{ hashFiles('typescript/optics-deploy/package-lock.json') }} - name: Typechain Cache id: typechain-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/typechain/node_modules key: ${{ runner.os }}-typechain-cache-${{ hashFiles('typescript/typechain/package-lock.json') }} - name: Multi-Provider Cache id: provider-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-provider/node_modules key: ${{ runner.os }}-provider-cache-${{ hashFiles('typescript/optics-provider/package-lock.json') }} @@ -95,14 +95,14 @@ jobs: # Get cache for Core and XApps - name: Core Cache id: core-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-core/node_modules key: ${{ runner.os }}-core-cache-${{ hashFiles('solidity/optics-core/package-lock.json') }} - name: XApps Cache id: xapps-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-xapps/node_modules key: ${{ runner.os }}-xapps-cache-${{ hashFiles('solidity/optics-xapps/package-lock.json') }} @@ -128,42 +128,42 @@ jobs: # Get caches - name: Core Cache id: core-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-core/node_modules key: ${{ runner.os }}-core-cache-${{ hashFiles('solidity/optics-core/package-lock.json') }} - name: XApps Cache id: xapps-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./solidity/optics-xapps/node_modules key: ${{ runner.os }}-xapps-cache-${{ hashFiles('solidity/optics-xapps/package-lock.json') }} - name: Tests Cache id: tests-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-tests/node_modules key: ${{ runner.os }}-tests-cache-${{ hashFiles('typescript/optics-tests/package-lock.json') }} - name: Deploy Cache id: deploy-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-deploy/node_modules key: ${{ runner.os }}-deploy-cache-${{ hashFiles('typescript/optics-deploy/package-lock.json') }} - name: Typechain Cache id: typechain-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/typechain/node_modules key: ${{ runner.os }}-typechain-cache-${{ hashFiles('typescript/typechain/package-lock.json') }} - name: Multi-Provider Cache id: provider-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./typescript/optics-provider/node_modules key: ${{ runner.os }}-provider-cache-${{ hashFiles('typescript/optics-provider/package-lock.json') }}