From 7e45ba887a03aaf8f12f040ed7106a13b78e34e9 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Fri, 8 Dec 2023 11:46:45 -0800 Subject: [PATCH] add job to test building documentation in pull requests --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a2ade6..8fe3a86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,16 @@ jobs: with: name: selfhostblocks authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: | + - name: Run tests + run: | nix run github:Mic92/nix-fast-build -- \ --skip-cached --no-nom \ --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" + + - name: Test building docs + run: | + nix \ + --print-build-logs \ + --option keep-going true \ + --show-trace \ + build .#manualHtml