summary refs log tree commit diff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-10-25 11:27:56 +0100
committerGitHub <noreply@github.com>2022-10-25 11:27:56 +0100
commitd12591996308cda35cb28cec839d5aacce32f52c (patch)
tree2168ac3dc646ba970148c64002a3cd37f0965caa /.github/workflows/tests.yml
parentEnable WAL for SQLite (#13897) (diff)
downloadsynapse-d12591996308cda35cb28cec839d5aacce32f52c.tar.xz
Cache rust build deps in trial CI (#14287)
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1115dcc5f3..ff5cf0c534 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -167,6 +167,14 @@ jobs:
             -e POSTGRES_PASSWORD=postgres \
             -e POSTGRES_INITDB_ARGS="--lc-collate C --lc-ctype C --encoding UTF8" \
             postgres:${{ matrix.job.postgres-version }}
+
+      - name: Install Rust
+        uses: actions-rs/toolchain@v1
+        with:
+            toolchain: 1.58.1
+            override: true
+      - uses: Swatinem/rust-cache@v2
+
       - uses: matrix-org/setup-python-poetry@v1
         with:
           python-version: ${{ matrix.job.python-version }}