Skip to content

Update to ergo maintained avl tree library #66

Update to ergo maintained avl tree library

Update to ergo maintained avl tree library #66

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
test-and-lint:
name: Unit Test and Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
override: true
toolchain: stable
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check --color always
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Install wasm-pack
run: cargo install wasm-pack || true # exits with a error code if wasm-pack is already installed
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Run Tests
run: yarn test