From 0c4046abeeb2f85d0d6a06d514e1dd15125705b8 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 12 Nov 2024 11:15:38 -0800 Subject: [PATCH] Update PR gate (#32) * Use unstable channel for PR gate * don't use nix-env * Run as command --- .github/workflows/pull_request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d6c4ff5..9f7333c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,9 +16,9 @@ jobs: - name: Install Nix uses: cachix/install-nix-action@v13 with: - nix_path: nixpkgs=channel:nixos-21.05 + nix_path: nixpkgs=channel:nixos-unstable - name: Build book run: | - nix-env -iA mdbook -f '' - mdbook build + nix-shell '' -p mdbook --command 'mdbook build' +