Skip to content

Commit

Permalink
ci: use nix-fast-build
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Aug 7, 2024
1 parent d34b7f7 commit 4f5b408
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ jobs:

- name: Run checks
run: |
nix flake check \
--all-systems \
--print-build-logs \
--show-trace
nix run \
--inputs-from . \
nixpkgs#nix-fast-build -- \
--no-nom \
--skip-cached
# Make sure all above jobs finished successfully
release-gate:
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
{
checks = forAllSystems (system: {
treefmt = treefmtFor.${system}.config.build.check self;
inherit (self.packages.${system}) refraction;
});

devShells = forAllSystems (
Expand Down

0 comments on commit 4f5b408

Please sign in to comment.