Skip to content

Commit

Permalink
Add rust client cache (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
febo committed Dec 25, 2023
1 parent 6414ef5 commit 430daea
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-rust-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-rust-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 430daea

Please sign in to comment.