Skip to content

Merge pull request #716 from zirco-lang/renovate/nixbuild-nix-quick-i… #1301

Merge pull request #716 from zirco-lang/renovate/nixbuild-nix-quick-i…

Merge pull request #716 from zirco-lang/renovate/nixbuild-nix-quick-i… #1301

Workflow file for this run

name: "rustdoc"
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
rustdoc:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: "-D warnings"
LLVM_SYS_201_PREFIX: /usr/lib/llvm-20
steps:
- name: Checkout
uses: actions/checkout@v6
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
repository: ${{github.event.pull_request.head.repo.full_name || github.repository }}
- name: Install LLVM dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: llvm-20 llvm-20-dev libpolly-20-dev clang-20
version: 1.0
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Rust problem matchers
uses: r7kamura/rust-problem-matchers@v1
- name: Use dependency cache
uses: Swatinem/rust-cache@v2
- name: cargo doc
uses: actions-rs/cargo@v1
with:
command: doc
args: --no-deps --all-features