From 60cfd95789f635d3622b8ab06178fd92b9500e93 Mon Sep 17 00:00:00 2001 From: dav Date: Sat, 26 Aug 2023 11:33:58 -0700 Subject: [PATCH] Add rust build caching to ci --- .github/workflows/build-rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-rust.yml b/.github/workflows/build-rust.yml index f56e26b..0993ec2 100644 --- a/.github/workflows/build-rust.yml +++ b/.github/workflows/build-rust.yml @@ -60,6 +60,8 @@ jobs: toolchain: stable components: rustfmt targets: ${{ join(matrix.targets, ', ') }} + - name: Setup Rust Cache + uses: Swatinem/rust-cache@v2 - name: Build shell: bash run: cargo build --verbose --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }} --target ${{ join(matrix.test-targets, ' --target ') }}