diff --git a/.github/workflows/deploy-wallet-at-pr.yml b/.github/workflows/deploy-wallet-at-pr.yml index 9c99eb0b96..dda56e236e 100644 --- a/.github/workflows/deploy-wallet-at-pr.yml +++ b/.github/workflows/deploy-wallet-at-pr.yml @@ -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 @@ -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