Skip to content

Commit

Permalink
chore: add Rust cache to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
emccorson committed Jul 11, 2023
1 parent 3110ff4 commit 7adbee2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy-wallet-at-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Rust cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./packages/shared/lib/target
./packages/crypto/lib/target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

Expand Down Expand Up @@ -109,6 +119,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Rust cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
./packages/shared/lib/target
./packages/crypto/lib/target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

Expand Down

0 comments on commit 7adbee2

Please sign in to comment.