Skip to content

wasmer 4.x support

wasmer 4.x support #6

Workflow file for this run

name: Setup env
on:
workflow_call:
jobs:
setup:
- uses: actions/checkout@v4

Check failure on line 9 in .github/workflows/setup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/setup.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- name: Install Rust toolchain 1.77
uses: actions-rs/toolchain@v1
with:
toolchain: "1.77"
override: true
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install snarkjs
run: npm install -g snarkjs
- name: Restore toml
uses: actions/cache@v4
id: toml-linux-restore
with:
path: /home/runner/.cargo/bin/toml
key: ${{ runner.os }}-toml-0.2.3 # version of toml-cli 0.2.3
- name: Install circom
run: |
sudo wget -O /Users/runner/.cargo/bin/circom https://github.com/iden3/circom/releases/download/v2.1.9/circom-macos-amd64
sudo chmod +x /Users/runner/.cargo/bin/circom
- name: Get uniffi-version
if: steps.toml-linux-restore.outputs.cache-hit == 'true'
run: echo "UNIFFI_VERSION=$(toml get mopro-ffi/Cargo.toml dependencies.uniffi.version -r)" >> $GITHUB_ENV
- name: Restore uniffi-bindgen
uses: actions/cache@v4
if: steps.toml-linux-restore.outputs.cache-hit == 'true'
id: uniffi-bindgen-linux-restore
with:
path: /home/runner/.cargo/bin/uniffi-bindgen
key: ${{ runner.os }}-uniffi-bindgen-${{ env.UNIFFI_VERSION }}
- name: Install mopro-cli
run: (cd mopro-cli && cargo install --path .)
- name: Prepare CI for Core and FFI
run: ./scripts/prepare_ci.sh