Skip to content

Add constants

Add constants #444

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache build
uses: Swatinem/rust-cache@v2
- name: Setup
run: |
cargo install cargo-all-features
- name: Check
run: cargo check-all-features
- name: Test core
run: cargo test-all-features
test-wasm:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache build
uses: Swatinem/rust-cache@v2
- name: Setup
run: |
rustup target add wasm32-unknown-unknown
cargo install wasm-pack
- name: Test wasm
run: |
cd wasm
wasm-pack test --node