Skip to content

Commit

Permalink
Build the docs with nix in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed May 5, 2024
1 parent e203bdc commit a6ac98c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,18 @@ jobs:

nix-flake:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
derivation:
- default
- docs

steps:
- name: Install Nix
uses: cachix/install-nix-action@v22

- uses: actions/checkout@v4

- name: Build the nix derivation (also runs the tests)
run: nix build --print-build-logs
- name: Build the ${{ matrix.derivation }} derivation
run: 'nix build --print-build-logs .\#${{ matrix.derivation }}'

0 comments on commit a6ac98c

Please sign in to comment.