Skip to content

refactor: Take ownership of builder instead #188

refactor: Take ownership of builder instead

refactor: Take ownership of builder instead #188

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-features --all-targets -- -D warnings
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: cargo test --all-features
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: full
wasm-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack test --node --all-features
env:
RUST_LOG: DEBUG
RUST_BACKTRACE: full