Skip to content

build(deps): bump wasm-bindgen-test from 0.3.37 to 0.3.38 #139

build(deps): bump wasm-bindgen-test from 0.3.37 to 0.3.38

build(deps): bump wasm-bindgen-test from 0.3.37 to 0.3.38 #139

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build | Clippy
run: RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy -- -D warnings
- name: Build | Rustfmt
run: cargo fmt --all -- --check
check:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build | Check (wasm)
run: cargo check --target wasm32-unknown-unknown
test:
needs: check # Ensure check is run first.
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Setup | wasm-pack
uses: jetli/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build | Test (wasm)
run: wasm-pack test --node
build:
needs: check # Ensure check is run first.
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Trunk
uses: jetli/[email protected]
with:
version: "latest"
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build | Trunk
run: trunk build