From ae95c38c75a0d904aa84f55c85a0e74a2348a85e Mon Sep 17 00:00:00 2001 From: CharlieC3 <2747302+CharlieC3@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:29:49 -0400 Subject: [PATCH] ci: enable cargo cache --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7665855..8236158 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -110,8 +110,15 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: stable + profile: minimal override: true + - name: Cache cargo + uses: actions/cache@v3 + with: + path: ~/.cargo/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install and run cargo-tarpaulin run: | cargo install cargo-tarpaulin