From 347f79fad2fd75deabdb4e53ed6eebbb8bc10ead Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 10 Nov 2020 20:24:29 +0100 Subject: [PATCH] Move cache to before running build Signed-off-by: trivernis --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 431343c..59f4764 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,13 +16,13 @@ jobs: steps: - 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: Build + run: cargo build --verbose - name: Run tests run: cargo test --verbose