chore(deps): update nixbuild/nix-quick-install-action action to v35 #1339
This file contains hidden or 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: "rustdoc" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| rustdoc: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| RUSTDOCFLAGS: "-D warnings" | |
| LLVM_SYS_221_PREFIX: /usr/lib/llvm-22 | |
| 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 from APT (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| wget https://apt.llvm.org/llvm.sh | |
| chmod +x llvm.sh | |
| sudo ./llvm.sh 22 | |
| sudo apt install libpolly-22-dev | |
| - 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 |