aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/nix.yml
blob: 88e6f0ad1c785598e3510938cbc5e3be46b0c17b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: "Nix ✅/ 🚫"

on:
  push:
    paths:
      - "*.nix"
      - "nix/*.nix"
  pull_request:
    paths:
      - "*.nix"
      - "nix/*.nix"

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛒
        uses: actions/checkout@v2
      - name: Toolchain 🧰
        uses: cachix/install-nix-action@v13
        with:
          nix_path: nixpkgs=channel:nixos-20.09
      - run: nix-build