From a97b52c04807d46c6d1ab3c7ceac3775642a7e91 Mon Sep 17 00:00:00 2001 From: Aworldc <83331712+Aworldc@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:04:02 +1100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e26e9c1..9f09740 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,17 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Restore cache + uses: actions/cache/restore@v3 + with: + path: target + key: buildtest-target-cache - name: Build run: cargo build + - name: Update cache + uses: actions/cache/save@v3 + with: + path: target + key: buildtest-target-cache - name: Run unit tests run: cargo test