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