Fix Mobile Touch Events #426
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check wasm build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: -Dwarnings | |
jobs: | |
check: | |
strategy: | |
matrix: | |
target: [ | |
"wasm32-unknown-unknown", | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install wasm target | |
run: rustup target add ${{ matrix.target }} | |
- name: Check | |
# cargo check doesn't find MIR diagnostics, so we use cargo build instead | |
# (https://github.com/rust-lang/rust/issues/49292) | |
run: cargo build --target=${{ matrix.target }} -pfidget --no-default-features --features="rhai" | |
- name: Clippy | |
run: cargo clippy --target=${{ matrix.target }} -pfidget --no-default-features --features="rhai" |