Skip to content

fix(docs): a spelling error #46

fix(docs): a spelling error

fix(docs): a spelling error #46

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
- name: Check code format
working-directory: ./code
run: cargo fmt --all -- --check
- name: Clippy
working-directory: ./code
run: cargo clippy --all-targets --all-features -- -D warnings
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path code/Cargo.toml --release --no-fail-fast --all-features
docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install mdbook
run: |
wget https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz -O ~/mdbook.tar.gz
tar xvf ~/mdbook.tar.gz -C ~
- name: Build docs
working-directory: ./docs
run: ~/mdbook build