diff options
author | Erik Johnston <erik@matrix.org> | 2022-09-07 14:56:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 13:56:59 +0000 |
commit | dc0e896b68beb7518fc81f897ac1006bf9f1858c (patch) | |
tree | 8d3b65219c526265de7d38454363067e52c339a2 /.github | |
parent | Correct out-of-date doc for `event_cache_size` (#13726) (diff) | |
download | synapse-dc0e896b68beb7518fc81f897ac1006bf9f1858c.tar.xz |
Add some rust caching to CI (#13735)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f96bdfa7f..50dc8e30d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -144,6 +144,7 @@ jobs: with: toolchain: 1.61.0 override: true + - uses: Swatinem/rust-cache@v2 # There aren't wheels for some of the older deps, so we need to install # their build dependencies @@ -253,11 +254,14 @@ jobs: - uses: actions/checkout@v2 - name: Prepare test blacklist run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers + - name: Install Rust uses: actions-rs/toolchain@v1 with: toolchain: 1.61.0 override: true + - uses: Swatinem/rust-cache@v2 + - name: Run SyTest run: /bootstrap.sh synapse working-directory: /src @@ -369,6 +373,7 @@ jobs: with: toolchain: 1.61.0 override: true + - uses: Swatinem/rust-cache@v2 - name: Prepare Complement's Prerequisites run: synapse/.ci/scripts/setup_complement_prerequisites.sh |