Skip to content

Commit

Permalink
ci(actions): Test Nix functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Sep 18, 2021
1 parent 326afbd commit 24b9c45
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,24 @@ jobs:
sile-${{ env.VERSION }}.pdf
sile-${{ env.VERSION }}.zip
sile-${{ env.VERSION }}.tar.xz
nix-flake:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install Nix
uses: cachix/install-nix-action@v14
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- name: Check nix flake
run: |
nix flake check
- name: Check nix
run: |
nix shell -c true

0 comments on commit 24b9c45

Please sign in to comment.