From e94c70fa9e6def4358ab1f336ef98dd67cb4dec4 Mon Sep 17 00:00:00 2001 From: alice pellerin Date: Sat, 2 May 2026 00:16:44 -0500 Subject: [PATCH] add caching to CI --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0fd90b..097f616 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,14 @@ jobs: - name: check version # cut off the v part of the tag to only search for the number run: grep --quiet "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml + - name: cache + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: test run: cargo test --release - name: make completion/manpage folders