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

on:
  push:
  pull_request:

jobs:
  tests:
    runs-on: ubuntu-latest
    env:
      - ACTIONS_ALLOW_UNSECURE_COMMANDS: true
    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