From 29642659b998d5acce8ff09cd2ded0b150c15ed3 Mon Sep 17 00:00:00 2001 From: Yadong Ding Date: Sat, 6 May 2023 09:52:50 +0800 Subject: [PATCH] action: use the same version rust-cache@v2.2.0 Signed-off-by: Yadong Ding --- .github/workflows/integration.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/smoke.yml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ca74f3546e7..87d071f5a9d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -43,7 +43,7 @@ jobs: with: ref: ${{ matrix.branch }} - name: Cache cargo - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2.2.0 with: target-dir: | ./target diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 147441f4b30..60f5476e837 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Cache cargo - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2.2.0 with: target-dir: | ./target @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Cache cargo - uses: Swatinem/rust-cache@v1 + uses: Swatinem/rust-cache@v2.2.0 with: target-dir: | ./target diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index 5cb847cedcd..3e754acb4de 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -85,7 +85,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Rust Cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.2.0 with: cache-on-failure: true shared-key: nydus-build-ubuntu-latest @@ -602,7 +602,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Rust Cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.2.0 with: cache-on-failure: true shared-key: nydus-build-ubuntu-latest @@ -619,7 +619,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Rust Cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@v2.2.0 with: cache-on-failure: true - name: Install cargo-llvm-cov