Add some rust caching to CI (#13735)

1.103.0-whithout-watcha
Erik Johnston 2 years ago committed by GitHub
parent c46fecd1f2
commit dc0e896b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/tests.yml
  2. 1
      changelog.d/13735.misc

@ -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

@ -0,0 +1 @@
Add a stub Rust crate.
Loading…
Cancel
Save