From 9e0d21f3ebf8e82fa7681e928e2c70d0850c999f Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Mon, 4 Apr 2022 16:36:17 -0400 Subject: [PATCH] chore: Add rust cache for CI (#961) --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b14a0f1..f0e82be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,6 +26,7 @@ jobs: run: rustup component add rustfmt - name: Install cargo-hack run: cargo install cargo-hack + - uses: Swatinem/rust-cache@v1 - name: Check fmt run: cargo fmt -- --check - name: Check features @@ -58,6 +59,7 @@ jobs: rust-version: ${{ matrix.rust }} - name: Install rustfmt run: rustup component add rustfmt + - uses: Swatinem/rust-cache@v1 - uses: actions/checkout@master - name: Run tests run: cargo test --all --all-features @@ -80,6 +82,7 @@ jobs: - name: Install rustfmt run: rustup component add rustfmt - uses: actions/checkout@master + - uses: Swatinem/rust-cache@v1 - name: Run interop tests run: ./interop/test.sh shell: bash