Skip to content

Commit

Permalink
Update PR gate (#32)
Browse files Browse the repository at this point in the history
* Use unstable channel for PR gate

* don't use nix-env

* Run as command
  • Loading branch information
jonringer authored Nov 12, 2024
1 parent 8dba3f9 commit 0c4046a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<nixpkgs>'
mdbook build
nix-shell '<nixpkgs>' -p mdbook --command 'mdbook build'

0 comments on commit 0c4046a

Please sign in to comment.