From 97f9c3c6d5a1aa49647614d818a1971a9edf138a Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 25 Oct 2022 10:11:13 +0100 Subject: [PATCH 1/2] Cache rust build deps in trial CI --- .github/workflows/tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1115dcc5f395..ff5cf0c534de 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -167,6 +167,14 @@ jobs: -e POSTGRES_PASSWORD=postgres \ -e POSTGRES_INITDB_ARGS="--lc-collate C --lc-ctype C --encoding UTF8" \ postgres:${{ matrix.job.postgres-version }} + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.58.1 + override: true + - uses: Swatinem/rust-cache@v2 + - uses: matrix-org/setup-python-poetry@v1 with: python-version: ${{ matrix.job.python-version }} From fc4574a7fac4e1191a58e89445aeb21bc2feeb87 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 25 Oct 2022 10:13:02 +0100 Subject: [PATCH 2/2] Newsfile --- changelog.d/14287.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/14287.misc diff --git a/changelog.d/14287.misc b/changelog.d/14287.misc new file mode 100644 index 000000000000..85c6dc2765a0 --- /dev/null +++ b/changelog.d/14287.misc @@ -0,0 +1 @@ +Add Rust cache to CI for `trial` runs.