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

Commit dc0e896

Browse files
authored
Add some rust caching to CI (#13735)
1 parent c46fecd commit dc0e896

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
with:
145145
toolchain: 1.61.0
146146
override: true
147+
- uses: Swatinem/rust-cache@v2
147148

148149
# There aren't wheels for some of the older deps, so we need to install
149150
# their build dependencies
@@ -253,11 +254,14 @@ jobs:
253254
- uses: actions/checkout@v2
254255
- name: Prepare test blacklist
255256
run: cat sytest-blacklist .ci/worker-blacklist > synapse-blacklist-with-workers
257+
256258
- name: Install Rust
257259
uses: actions-rs/toolchain@v1
258260
with:
259261
toolchain: 1.61.0
260262
override: true
263+
- uses: Swatinem/rust-cache@v2
264+
261265
- name: Run SyTest
262266
run: /bootstrap.sh synapse
263267
working-directory: /src
@@ -369,6 +373,7 @@ jobs:
369373
with:
370374
toolchain: 1.61.0
371375
override: true
376+
- uses: Swatinem/rust-cache@v2
372377

373378
- name: Prepare Complement's Prerequisites
374379
run: synapse/.ci/scripts/setup_complement_prerequisites.sh

changelog.d/13735.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add a stub Rust crate.

0 commit comments

Comments
 (0)