This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
fix: allow to set genesis_da_height
on upgrades + some tech debts (…
#156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Risc0 Compatibility | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/risc0-check.yml | |
- ci/risc0-check/** | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
push: | |
branches: main | |
paths: | |
- .github/workflows/risc0-check.yml | |
- ci/risc0-check/** | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_PROFILE_DEV_DEBUG: 1 | |
CARGO_PROFILE_RELEASE_DEBUG: 1 | |
CARGO_NET_RETRY: 10 | |
RUSTUP_MAX_RETRIES: 10 | |
jobs: | |
risc0-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
token: ${{ secrets.AUTH_TOKEN }} | |
- name: Cache dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-risczero | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- name: Install risc0-zkvm toolchain | |
run: cargo risczero install --version v2024-02-08.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check Risc0 compatibility | |
run: make check-risc0 |