feat(set): implement nocaseglob + nocasematch options (#282) #60
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
name: "Docs" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_TERM_COLOR: always | |
CLICOLOR: 1 | |
CLICOLOR_FORCE: 1 | |
jobs: | |
# Check links in docs | |
check-links: | |
name: "Check links" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Check repo-local links | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
args: ". --offline --verbose --no-progress" | |
fail: true | |
# Generate docs content | |
generate-docs: | |
name: "Generate usage docs" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Enable cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Create dirs | |
run: mkdir -p ./md ./man | |
- name: Build markdown info | |
run: cargo xtask generate-markdown --out ./md/brush.md | |
- name: Upload markdown docs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs-markdown | |
path: md | |
- name: Build man pages | |
run: cargo xtask generate-man --output-dir ./man | |
- name: Upload man pages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs-man | |
path: man |