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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
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