summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-06-09 15:03:59 +0100
committerErik Johnston <erik@matrix.org>2023-06-09 15:04:27 +0100
commitd70a3200918170be1ddd27ee6ec50a93e672b837 (patch)
tree08b4678f9b5e7b3bbd92b5e4ba76e8b2116a5866
parentSpeed up typechecking CI (#15752) (diff)
downloadsynapse-d70a3200918170be1ddd27ee6ec50a93e672b837.tar.xz
-rw-r--r--.github/workflows/tests.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 02a4be3a24..92c38f5bb8 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -95,6 +95,9 @@ jobs:
       - name: Install Rust
         uses: dtolnay/rust-toolchain@1.58.1
       - uses: Swatinem/rust-cache@v2
+        with:
+          # We want to avoid rebuilding the top-level crate each time.
+          cache-all-crates: "true"
 
       - name: Setup Poetry
         uses: matrix-org/setup-python-poetry@v1