From b440ec460386e838aa22d8211a30cb8f2f0462c3 Mon Sep 17 00:00:00 2001 From: febo Date: Mon, 25 Dec 2023 02:10:13 +0200 Subject: [PATCH] Add rust client cache --- .github/workflows/build-rust-client.yml | 6 ++++++ .github/workflows/test-rust-client.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build-rust-client.yml b/.github/workflows/build-rust-client.yml index ec545f3..c27e6a3 100644 --- a/.github/workflows/build-rust-client.yml +++ b/.github/workflows/build-rust-client.yml @@ -45,6 +45,12 @@ jobs: version: ${{ inputs.solana || env.SOLANA_VERSION }} cache: ${{ env.CACHE }} + - name: Cache Rust client test dependencies + uses: metaplex-foundation/actions/cache-crate@v1 + with: + folder: ./clients/rust + key: rust-client-test + - name: Run cargo clippy uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/test-rust-client.yml b/.github/workflows/test-rust-client.yml index 9e34e2a..28acee2 100644 --- a/.github/workflows/test-rust-client.yml +++ b/.github/workflows/test-rust-client.yml @@ -31,6 +31,12 @@ jobs: version: ${{ env.SOLANA_VERSION }} cache: ${{ env.CACHE }} + - name: Cache Rust client test dependencies + uses: metaplex-foundation/actions/cache-crate@v1 + with: + folder: ./clients/rust + key: rust-client-test + - name: Download program builds uses: actions/download-artifact@v3 with: