Skip to content

adding sub-category

adding sub-category #5

Workflow file for this run

on:
workflow_dispatch:
push:
pull_request:
name: ci
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.60.0
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-features --locked
test:
name: Test Suite
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.60.0
override: true
- run: cargo install wasm-pack --version 0.10.3
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --no-default-features
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features
- run: wasm-pack test --node --all
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.60.0
override: true
- run: rustup component add rustfmt clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- --deny warnings