summaryrefslogtreecommitdiffstats
path: root/.github/workflows/nix.yml
blob: 4c3d0ef4ba3707874f2720ef956538a6b0f5f2e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: "nix-shell-build"

on:
  push:
  pull_request:

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: cachix/install-nix-action@v10
      with:
        nix_path: nixpkgs=channel:nixos-stable
    - uses: workflow/nix-shell-action@v1
      with:
        script: |
          configure || exit 1
          build || exit 1