Skip to content

Commit

Permalink
flake: move documentation building from CI to flake check
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 5, 2024
1 parent f16f767 commit 948a721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check --all-systems --builders ""
- run: nix flake check --all-systems --builders "" ./templates/_wrapper/simple --no-write-lock-file
- run: nix build .#docs --show-trace --builders ""
3 changes: 3 additions & 0 deletions flake-modules/checks.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
perSystem = {
pkgs,
config,
makeNixvimWithModuleUnfree,
makeNixvimWithModule,
...
Expand All @@ -26,6 +27,8 @@
inherit pkgs;
inherit (pkgs) lib;
};

inherit (config.packages) docs;
};
};
}

0 comments on commit 948a721

Please sign in to comment.