From b983cc33f596a765a381edecdb8341871a15ba31 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Dec 2023 13:16:56 -0800 Subject: run `nix flake check` in CI before building the site --- .github/workflows/page.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index 04d964f..c13aa75 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -24,7 +24,10 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - run: nix build .#site --print-build-logs + - name: flake check + run: nix flake check + - name: Build the site + run: nix build --print-build-logs - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: -- cgit 1.4.1