summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-03-28 16:17:15 +0100
committerGitHub <noreply@github.com>2023-03-28 15:17:15 +0000
commit57481ca6941f2750a750a3f7e460e2e56ee08562 (patch)
treef862ba718e8679faab018161772445f324d874a4 /.github/workflows
parentSpeed up pydantic CI lint (#15339) (diff)
downloadsynapse-57481ca6941f2750a750a3f7e460e2e56ee08562.tar.xz
Speed up generate sample config CI lint (#15340)
Diffstat (limited to '.github/workflows')
-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 0e736cecb8..a2cec324a5 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -34,6 +34,14 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
+      - name: Install Rust
+        # There don't seem to be versioned releases of this action per se: for each rust
+        # version there is a branch which gets constantly rebased on top of master.
+        # We pin to a specific commit for paranoia's sake.
+        uses: dtolnay/rust-toolchain@fc3253060d0c959bea12a59f10f8391454a0b02d
+        with:
+            toolchain: 1.58.1
+      - uses: Swatinem/rust-cache@v2
       - uses: matrix-org/setup-python-poetry@v1
         with:
           python-version: "3.x"