Skip to content

Commit

Permalink
Add Rust caching in Go workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Sep 26, 2024
1 parent 26497cf commit 1f69ee8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ jobs:
toolchain: stable
components: rustfmt, clippy
override: true
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
batcher/target
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-
- name: Build SP1 bindings
run: make build_sp1_linux
- name: Build Risc Zero go bindings
Expand Down

0 comments on commit 1f69ee8

Please sign in to comment.