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

update to latest sovereign-ibc #78

update to latest sovereign-ibc

update to latest sovereign-ibc #78

Workflow file for this run

name: Rust
on:
workflow_dispatch:
push:
branches: ["ibc-rollup"]
pull_request:
branches: ["ibc-rollup"]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on:
- nscloud-ubuntu-20.04-amd64-8x32-with-cache
- nscloud-cache-tag-sov-rollup-starter-build
- nscloud-cache-size-100gb
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SOVEREIGN_SDK_PRIVATE_SSH_KEY }}
- uses: actions/checkout@v4
with:
submodules: true
ssh-key: ${{ secrets.SOVEREIGN_SDK_PRIVATE_SSH_KEY }}
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install cargo-risczero
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: taiki-e/install-action@nextest
- name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain
run: cargo risczero install --version v2024-04-22.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: namespacelabs/nscloud-cache-action@v1
with:
cache: rust
- name: Check
run: make lint
- name: Run tests
run: cargo nextest run
- name: Run README.md
run: chmod +x sov-rollup-starter.sh && ./sov-rollup-starter.sh