Skip to content

fix: map root check in partial storage (#1647) #1

fix: map root check in partial storage (#1647)

fix: map root check in partial storage (#1647) #1

Workflow file for this run

# Runs build related jobs.
name: build
# Limits workflow concurrency to only the latest commit in the PR.
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
async:
name: build using async feature
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: Swatinem/rust-cache@v2
with:
# Only update the cache on push onto the next branch. This strikes a nice balance between
# cache hits and cache evictions (github has a 10GB cache limit).
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }}
- name: build
run: |
rustup update --no-self-update
make build-async
no-std:
name: build for no-std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: Swatinem/rust-cache@v2
with:
# Only update the cache on push onto the next branch. This strikes a nice balance between
# cache hits and cache evictions (github has a 10GB cache limit).
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }}
- name: build
run: |
rustup update --no-self-update
rustup target add wasm32-unknown-unknown
make build-no-std
make build-no-std-testing
feature-check:
name: Check feature combinations
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: Swatinem/rust-cache@v2
with:
# Only update the cache on push onto the next branch. This strikes a nice balance between
# cache hits and cache evictions (github has a 10GB cache limit).
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }}
# Install cargo-hack or restore from cache if already built.
- uses: taiki-e/cache-cargo-install-action@v2
with:
tool: cargo-hack
- name: Update Rust toolchain
run: rustup update --no-self-update
# Run cargo hack check with each feature to ensure crates compile with individual features
- name: Check each feature
run: cargo hack check --each-feature --workspace --exclude bench-prover