From 4d2000c1dba3a79320104f12afc047e992e61f39 Mon Sep 17 00:00:00 2001 From: iverly Date: Mon, 30 Oct 2023 16:08:40 +0100 Subject: [PATCH] feat(ci): add cargo cache for faster build Signed-off-by: iverly --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e5f9a28..ca57ae2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,6 +41,11 @@ jobs: name: Install dependencies run: sudo apt install -y ${{ matrix.dependencies }} + - name: Use cargo cache + uses: Swatinem/rust-cache@v2 + with: + workspaces: ${{ matrix.component }} + - name: Build run: cargo build -p ${{ matrix.component }}