1 name: "Build Nixpkgs manual"
12 - 'pkgs/tools/nix/nixdoc/**'
16 name: nixpkgs-manual-build
17 runs-on: ubuntu-latest
18 if: github.repository_owner == 'NixOS'
20 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
22 # pull_request_target checks out the base branch by default
23 ref: refs/pull/${{ github.event.pull_request.number }}/merge
24 - uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
26 # explicitly enable sandbox
27 extra_nix_config: sandbox = true
28 - uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc # v15
30 # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
32 authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
33 - name: Building Nixpkgs manual
34 run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true pkgs/top-level/release.nix -A manual -A manual.tests