diff --git a/.github/workflows/build-ffi.yml b/.github/workflows/build-ffi.yml index 0aa3264d..b694bf20 100644 --- a/.github/workflows/build-ffi.yml +++ b/.github/workflows/build-ffi.yml @@ -30,6 +30,7 @@ jobs: with: toolchain: stable components: rustfmt + - uses: Swatinem/rust-cache@v2 - name: Install shared mime info DB if: runner.os == 'macOS' run: brew install shared-mime-info diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0f54038..ca3c785d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,6 +62,9 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: cargo-nextest + - uses: Swatinem/rust-cache@v2 + with: + shared-key: musl - name: Tests run: cargo nextest run working-directory: rust diff --git a/.github/workflows/compatability-suite.yml b/.github/workflows/compatability-suite.yml index 05ee55fb..40a00b06 100644 --- a/.github/workflows/compatability-suite.yml +++ b/.github/workflows/compatability-suite.yml @@ -28,6 +28,7 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: cargo-nextest + - uses: Swatinem/rust-cache@v2 - name: Run Cucumber run: cargo nextest run working-directory: compatibility-suite