Skip to content

add load index

add load index #17

Workflow file for this run

name: lint and test
on:
pull_request:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Crate
uses: actions/checkout@v3
with:
submodules: recursive
- name: toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- name: Run check
run: cargo check
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Crate
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run test
run: cargo test