diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 3cb2ed878b..ad0fb73488 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -34,7 +34,7 @@ jobs: echo "::set-output name=head::$commit" - name: Cache cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /usr/local/cargo/registry/index key: cargo-index-${{ steps.ls-crates-io-index.outputs.head }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c8fc0d69f..1b95ca55b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,7 +110,7 @@ jobs: git config --system core.longpaths true - name: Cache cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -118,7 +118,7 @@ jobs: - id: cargo-deps name: Cache cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -212,13 +212,13 @@ jobs: submodules: true - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} - name: Restore cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1fa4755c1b..008451919d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,7 +69,7 @@ jobs: default: true - name: Cache cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -77,7 +77,7 @@ jobs: - id: cargo-deps name: Cache cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -152,7 +152,7 @@ jobs: uses: actions/checkout@v2 - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -161,7 +161,7 @@ jobs: restore-keys: cargo-index- - name: Restore cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -237,13 +237,13 @@ jobs: uses: actions/checkout@v2 - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} - name: Restore cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -293,13 +293,13 @@ jobs: override: true - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-v2-${{ needs.update_deps.outputs.crates-io-index-head }} - name: Restore dependency crates - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/cache key: cargo-deps-v2-${{ hashFiles('Cargo.lock') }} diff --git a/.github/workflows/test_evm.yml b/.github/workflows/test_evm.yml index 1588a4070f..d5a1c57967 100644 --- a/.github/workflows/test_evm.yml +++ b/.github/workflows/test_evm.yml @@ -69,7 +69,7 @@ jobs: default: true - name: Cache cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -77,7 +77,7 @@ jobs: - id: cargo-deps name: Cache cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -145,7 +145,7 @@ jobs: uses: actions/checkout@v2 - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -154,7 +154,7 @@ jobs: restore-keys: cargo-index- - name: Restore cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache diff --git a/.github/workflows/test_networking.yml b/.github/workflows/test_networking.yml index b9928b6ea9..cfe0256d6e 100644 --- a/.github/workflows/test_networking.yml +++ b/.github/workflows/test_networking.yml @@ -69,7 +69,7 @@ jobs: default: true - name: Cache cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -77,7 +77,7 @@ jobs: - id: cargo-deps name: Cache cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache @@ -145,7 +145,7 @@ jobs: uses: actions/checkout@v2 - name: Restore cargo registry index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry/index key: cargo-index-${{ needs.cache_info.outputs.crates-io-index-head }} @@ -154,7 +154,7 @@ jobs: restore-keys: cargo-index- - name: Restore cargo dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/registry/cache