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

Commit

Permalink
Add some rust caching to CI (#13735)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Sep 7, 2022
1 parent c46fecd commit dc0e896
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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.

0 comments on commit dc0e896

Please sign in to comment.