Skip to content

feat: add wasi support #2

feat: add wasi support

feat: add wasi support #2

name: WASI
on:
push:
branches: [ main ]
pull_request:
branches: [ main, next ]
env:
RUST_BACKTRACE: full
jobs:
build_test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
toolchain: [stable]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: ${{ matrix.toolchain }}

Check failure on line 26 in .github/workflows/build_test_wasi.yml

View workflow run for this annotation

GitHub Actions / WASI

Invalid workflow file

The workflow is not valid. .github/workflows/build_test_wasi.yml (Line: 26, Col: 11): 'toolchain' is already defined
override: true
- name: Add target
run: rustup target add wasm32-wasi
- uses: extractions/setup-just@v1
- uses: hustcer/[email protected]
with:
version: '0.85'
env:
GITHUB_TOKEN: ${{ secrets.PAT_GLOBAL }}
- name: Just version
run: just --version
- name: Build
run: just build_wasi