This repository was archived by the owner on Apr 22, 2025. It is now read-only.
fix: use ubuntu-latest in build workflow (#10) #15
This file contains hidden or 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: Build Guest | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.81.0 | |
- name: Install Risc0 toolchain | |
run: | | |
curl -L https://risczero.com/install | bash | |
/home/runner/.risc0/bin/rzup install rust 1.81.0 | |
/home/runner/.risc0/bin/rzup install r0vm 2.0.1 | |
/home/runner/.risc0/bin/rzup install cargo-risczero 2.0.1 | |
- name: Build Risc0 guest program | |
run: | | |
cargo build |