Skip to content

fix(debug-trace-server): stop rotating to fallbacks for not-yet-generated frontier witnesses #260

fix(debug-trace-server): stop rotating to fallbacks for not-yet-generated frontier witnesses

fix(debug-trace-server): stop rotating to fallbacks for not-yet-generated frontier witnesses #260

Workflow file for this run

name: Build & Test
on:
workflow_call:
workflow_dispatch:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run cargo-sort
run: |
cargo install cargo-sort
cargo sort --check --workspace --grouped --order package,workspace,lints,profile,bin,benches,dependencies,dev-dependencies,features
- name: Run Fmt
run: cargo fmt --all --check
- name: Run Clippy
run: cargo clippy --workspace --all-targets --all-features
- name: Run Codespell
uses: codespell-project/actions-codespell@v2
with:
skip: ./target
test:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Build
run: cargo build
- name: Run Test
run: cargo test
no-std:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: riscv64imac-unknown-none-elf,wasm32-unknown-unknown
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Check stateless-core (host no_std)
run: cargo check -p stateless-core --no-default-features
- name: Run stateless-core tests with --no-default-features
run: cargo test -p stateless-core --no-default-features --lib
- name: Build stateless-core for riscv64imac-unknown-none-elf
run: cargo build -p stateless-core --no-default-features --target riscv64imac-unknown-none-elf
- name: Build stateless-core for wasm32-unknown-unknown
run: cargo build -p stateless-core --no-default-features --target wasm32-unknown-unknown