From 60263a1baa8e255f2bb9a8d981ecc6bac917d1d0 Mon Sep 17 00:00:00 2001 From: Pia Date: Thu, 24 Oct 2024 12:02:07 +0900 Subject: [PATCH] faster ci --- .github/workflows/prove.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/prove.yml b/.github/workflows/prove.yml index 23d023a..8299b8f 100644 --- a/.github/workflows/prove.yml +++ b/.github/workflows/prove.yml @@ -24,6 +24,17 @@ jobs: with: submodules: recursive + - name: Cache Rust build files + uses: actions/cache@v3 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo- + - name: Install rust toolchain uses: actions-rs/toolchain@v1 with: