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

Commit d125919

Browse files
authored
Cache rust build deps in trial CI (#14287)
1 parent 8c94dd3 commit d125919

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ jobs:
167167
-e POSTGRES_PASSWORD=postgres \
168168
-e POSTGRES_INITDB_ARGS="--lc-collate C --lc-ctype C --encoding UTF8" \
169169
postgres:${{ matrix.job.postgres-version }}
170+
171+
- name: Install Rust
172+
uses: actions-rs/toolchain@v1
173+
with:
174+
toolchain: 1.58.1
175+
override: true
176+
- uses: Swatinem/rust-cache@v2
177+
170178
- uses: matrix-org/setup-python-poetry@v1
171179
with:
172180
python-version: ${{ matrix.job.python-version }}

changelog.d/14287.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Rust cache to CI for `trial` runs.

0 commit comments

Comments
 (0)