Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add some rust caching to CI #13735

Merged
merged 2 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/13735.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a stub Rust crate.