Skip to content

Commit

Permalink
feat(ci): add cargo cache for faster build
Browse files Browse the repository at this point in the history
Signed-off-by: iverly <github@iverly.net>
  • Loading branch information
iverly committed Oct 30, 2023
1 parent 47318c2 commit 4d2000c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 4d2000c

Please sign in to comment.