summary refs log tree commit diff
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
parentEnable WAL for SQLite (#13897) (diff)
downloadsynapse-d12591996308cda35cb28cec839d5aacce32f52c.tar.xz
Cache rust build deps in trial CI (#14287)
Diffstat (limited to '')
-rw-r--r--.github/workflows/tests.yml8
-rw-r--r--changelog.d/14287.misc1
2 files changed, 9 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 }}
diff --git a/changelog.d/14287.misc b/changelog.d/14287.misc
new file mode 100644
index 0000000000..85c6dc2765
--- /dev/null
+++ b/changelog.d/14287.misc
@@ -0,0 +1 @@
+Add Rust cache to CI for `trial` runs.