summaryrefslogtreecommitdiffstats
path: root/.github/workflows/nix.yml
blob: d30bba0916a9109decb6fb9ff17efc2e602003bb (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