Skip to content

fix clippy

fix clippy #26

Workflow file for this run

on:
push:
branches:
- main
name: Docs
jobs:
docs:
name: Build and deploy documentation
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2
- name: Build rustdoc
run: cargo doc --all-features --workspace
- name: Organize
run: |
rm -rf target/gh-pages
mkdir target/gh-pages
mv target/doc target/gh-pages/rustdoc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: target/gh-pages
single-commit: true