diff --git a/.github/workflows/build-go.yml b/.github/workflows/build-go.yml index 51f75e620..2b9353ddb 100644 --- a/.github/workflows/build-go.yml +++ b/.github/workflows/build-go.yml @@ -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