From 66398fe159368dc245bca4f274562ed163959f37 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sun, 3 Dec 2023 23:56:25 -0800 Subject: [PATCH] use nix-fast-builds in CI --- .github/workflows/test.yml | 8 +++----- .gitignore | 3 ++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39c57a2..9a2ade6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,6 @@ jobs: name: selfhostblocks authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - run: | - nix flake \ - --print-build-logs \ - --option keep-going true \ - --show-trace \ - check + nix run github:Mic92/nix-fast-build -- \ + --skip-cached --no-nom \ + --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" diff --git a/.gitignore b/.gitignore index 0214a90..5ce57ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.qcow2 -result \ No newline at end of file +result +result-* \ No newline at end of file