From 5fed0068b8535a93b587eb57e5c5af75ee5f4978 Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 10 Nov 2020 20:22:00 +0100 Subject: [PATCH] Add cache to rust build task Signed-off-by: trivernis --- .github/workflows/rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7ae98f3..431343c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,5 +18,11 @@ jobs: - uses: actions/checkout@v2 - name: Build run: cargo build --verbose + - name: Cache build data + uses: actions/cache@v2 + with: + path: | + target/**/build + target/**/deps - name: Run tests run: cargo test --verbose