Skip to content

Fix crate-level docs and CLI help #23

Fix crate-level docs and CLI help

Fix crate-level docs and CLI help #23

Workflow file for this run

name: Rust
permissions:
contents: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --workspace
docs-build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧
run: |
cargo doc --no-deps --workspace
echo "<meta http-equiv=\"refresh\" content=\"0; url=scan\">" > target/doc/index.html
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs # The folder the action should deploy.