Skip to content

Bump version for v0.3.6 (unreleased) (#272) #512

Bump version for v0.3.6 (unreleased) (#272)

Bump version for v0.3.6 (unreleased) (#272) #512

Workflow file for this run

name: Check wasm build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-check
- name: Install wasm target
run: rustup target add wasm32-unknown-unknown
- name: Check
# `cargo check` doesn't find MIR diagnostics (rust#49292), so we have to
# compile instead. We're using `cargo rustc` instead of `cargo build` to
# pass `-Dwarnings`; we don't want to use `RUSTFLAGS` because that will
# override customization in `.cargo/config.toml`
run: cargo rustc --target=wasm32-unknown-unknown -pfidget --no-default-features --features="rhai" -- -Dwarnings
- name: Clippy
run: cargo clippy --target=wasm32-unknown-unknown -pfidget --no-default-features --features="rhai" -- -Dwarnings