Skip to content

Update CI

Update CI #418

Workflow file for this run

on:
workflow_dispatch:
pull_request:
push:
branches:
- master
name: ci
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: cargo check --all --all-features --locked
test:
name: Test Suite
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: cargo install wasm-pack --version 0.12.1 --locked
- run: cargo test --all --no-default-features --locked
- run: cargo test --all --all-features --locked
- run: wasm-pack test --node --all --locked
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: rustup component add rustfmt clippy
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features -- --deny warnings