Update Rust crate anyhow to 1.0.75 #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@nightly | |
# Note: caching doesn't appear to work for rustdoc as of 2022-12-04, and we're exceeding cache | |
# sizes anyway | |
- name: Build rustdoc | |
# cargo-compare currently pulls in cargo which bloats build times massively | |
run: | | |
RUSTDOCFLAGS='--cfg=doc_cfg' cargo doc --all-features --workspace --exclude cargo-compare | |
- 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 |