Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

imp: add risc0-check to CI #6

imp: add risc0-check to CI

imp: add risc0-check to CI #6

Workflow file for this run

name: Risc0 Compatibility
on:
pull_request:
paths:
- .github/workflows/risc0-check.yml
- ci/risc0-check/**
- '**/Cargo.toml'
push:
branches: main
paths:
- .github/workflows/risc0-check.yml
- ci/risc0-check/**
- '**/Cargo.toml'
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 1
CARGO_PROFILE_RELEASE_DEBUG: 1
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RISC0_DEV_MODE: 1
jobs:
risc0-check:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_DEPLOY_KEY }}
- uses: actions/checkout@v3
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-risc0
run: cargo install cargo-risczero
- name: Install risc0-zkvm toolchain
run: cargo risczero install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Risc0 compatibility
run: make check-risc0