Skip to content

doc: comment about branch protection rules with JSON example #4

doc: comment about branch protection rules with JSON example

doc: comment about branch protection rules with JSON example #4

Workflow file for this run

name: Docs
on:
pull_request:
merge_group:
push:
branches: [main]
env:
CARGO_TERM_COLOR: always
permissions: {}
jobs:
docs:
name: Generate docs
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4 # stable
- name: Rust cache
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2
with:
cache-on-failure: true
- name: Check docs leaving the dependencies out
env:
RUSTDOCFLAGS: -A rustdoc::private-doc-tests -D warnings
run: cargo doc --no-deps