Skip to content

Require wasm-bindgen >=0.2.88 to work around rust-lang/rust/issues/71871 #337

Require wasm-bindgen >=0.2.88 to work around rust-lang/rust/issues/71871

Require wasm-bindgen >=0.2.88 to work around rust-lang/rust/issues/71871 #337

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: rust
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1.0.3
with:
command: check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1.0.3
with:
command: test
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1.0.3
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features