Skip to content

feat(js): Add error handling during IDL parsing #655

feat(js): Add error handling during IDL parsing

feat(js): Add error handling during IDL parsing #655

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ master ]
pull_request:
env:
BINARYEN_VERSION: version_111
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install wasm-opt
run: |
sudo wget -c https://github.com/WebAssembly/binaryen/releases/download/$BINARYEN_VERSION/binaryen-$BINARYEN_VERSION-x86_64-linux.tar.gz -O - | sudo tar -xz -C .
sudo cp binaryen-$BINARYEN_VERSION/bin/wasm-opt /usr/bin/
- name: Check Code Formatting
run: cargo fmt --all --check
- name: Check Code With Clippy
run: cargo clippy --workspace --all-targets --locked -- -D warnings -A unused-imports
- name: Check IDL Parser For WASM With Clippy
run: cargo clippy --manifest-path=idl-parser/Cargo.toml --all-targets --locked --target=wasm32-unknown-unknown -- -D warnings
- name: Run Tests
run: cargo test --workspace --all-targets --locked --no-fail-fast