name: "Test Nix build"
on:
  pull_request:
  push:
jobs:
  test-nixos-2003:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: cachix/install-nix-action@v10
      - run: NIX_PATH=channel:nixos-20.03 nix-shell --run "mkdir tmp && python generate.py -l DEBUG -c conf.yaml tmp"
  test-nixos-unstable:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: cachix/install-nix-action@v10
      - run: NIX_PATH=channel:nixos-unstable nix-shell --run "mkdir tmp && python generate.py -l DEBUG -c conf.yaml tmp"

name: "Test Nix build"
on:
  pull_request:
  push:
jobs:
  test-nixos-2105:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.3.4
      - uses: cachix/install-nix-action@v13
      - run: NIX_PATH=channel:nixos-21.05 nix-shell --run "mkdir tmp && python generate.py -l DEBUG -c conf.yaml tmp"
  test-nixos-unstable:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2.3.4
      - uses: cachix/install-nix-action@v13
      - run: NIX_PATH=channel:nixos-unstable nix-shell --run "mkdir tmp && python generate.py -l DEBUG -c conf.yaml tmp"

Update CI to with more recent actions and NixOS versions
Update CI to with more recent actions and NixOS versions
