From 3c3997b726dccb8543ca0a7d6cd1958f6be1447d Mon Sep 17 00:00:00 2001 From: BGluth Date: Sat, 20 Aug 2022 14:26:03 -0600 Subject: [PATCH] Added caching for GitHub Workflows --- .github/workflows/continuous-integration-workflow.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 1f1db14b..188539d8 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -23,6 +23,9 @@ jobs: toolchain: nightly override: true + - name: rust-cache + uses: Swatinem/rust-cache@v2 + - name: Run cargo test uses: actions-rs/cargo@v1 with: @@ -48,6 +51,9 @@ jobs: override: true components: rustfmt, clippy + - name: rust-cache + uses: Swatinem/rust-cache@v2 + - name: Run cargo fmt uses: actions-rs/cargo@v1 with: