Skip to content

build: bump the cargo-dependencies group with 5 updates #182

build: bump the cargo-dependencies group with 5 updates

build: bump the cargo-dependencies group with 5 updates #182

Workflow file for this run

name: Lint Rust Documentation
on:
pull_request:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/*
!target/opencascade-sys
key: cargo-docs-${{ hashFiles('**/Cargo.lock') }}
- name: Load OpenCASCADE Cache
uses: actions/cache/restore@v4
with:
path: |
target/opencascade-sys/
key: occt-${{ runner.os }}-stable-${{ hashFiles('crates/opencascade-sys/**') }}
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --no-deps --document-private-items --workspace