Skip to content

fix: fix prover (#147) #617

fix: fix prover (#147)

fix: fix prover (#147) #617

Workflow file for this run

name: Cargo Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUST_LOG: info
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v2
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: curl -L https://sp1up.succinct.xyz | bash && ~/.sp1/bin/sp1up -v v4.1.3
- name: Install Dependencies
run: sudo apt install protobuf-compiler
- name: Cargo test
run: cargo test --release --verbose
- name: Cargo test prover
run: cargo test --release -- --nocapture
working-directory: ./prover
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2025-02-16
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2025-02-16
override: true
- name: Install Dependencies
run: sudo apt install protobuf-compiler
- run: rustup component add clippy
- run: make clippy