diff --git a/.github/workflows/build-programs.yml b/.github/workflows/build-programs.yml index 01c139a8..2f5adf7d 100644 --- a/.github/workflows/build-programs.yml +++ b/.github/workflows/build-programs.yml @@ -49,7 +49,7 @@ jobs: - name: Cache program dependencies if: env.CACHE == 'true' - uses: metaplex-foundation/actions/cache-programs@v1 + uses: metaplex-foundation/actions/cache-crates@v1 - name: Build programs shell: bash diff --git a/.github/workflows/build-rust-client.yml b/.github/workflows/build-rust-client.yml index 15f0528a..69c505d4 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 dependencies + uses: metaplex-foundation/actions/cache-crate@v1 + with: + folder: ./clients/rust + key: rust-client + - name: Run cargo clippy uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/test-programs.yml b/.github/workflows/test-programs.yml index 5881ec62..edc71dc2 100644 --- a/.github/workflows/test-programs.yml +++ b/.github/workflows/test-programs.yml @@ -36,7 +36,7 @@ jobs: - name: Cache program dependencies if: env.CACHE == 'true' - uses: metaplex-foundation/actions/cache-program@v1 + uses: metaplex-foundation/actions/cache-crates@v1 with: folder: ./programs/${{ matrix.program }} key: program-${{ matrix.program }} diff --git a/.github/workflows/test-rust-client.yml b/.github/workflows/test-rust-client.yml index fc5b4f35..665688e2 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: