From 803ff5e1af157fa8a6205a9b607f18c36e7ab284 Mon Sep 17 00:00:00 2001 From: Daniel Raniz Raneland Date: Wed, 14 Dec 2022 11:33:07 +0100 Subject: [PATCH] Cache installation of cargo-vet --- .github/workflows/audits.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/audits.yml b/.github/workflows/audits.yml index db1d6fc..063dc01 100644 --- a/.github/workflows/audits.yml +++ b/.github/workflows/audits.yml @@ -11,6 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v3 + id: cargo-cache + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + ~/.cargo/.crates.toml + ~/.cargo/.crates2.json + key: ${{ runner.os }}-cargo-vet - uses: actions-rs/toolchain@v1 with: