17 lines
515 B
YAML
17 lines
515 B
YAML
name: "Test"
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cachix/install-nix-action@v16
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
# nix 2.6 breaks restrict-eval, when using the NIX_PATH
|
|
# see https://github.com/NixOS/nix/issues/5980
|
|
install_url: https://releases.nixos.org/nix/nix-2.5.1/install
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
- run: ./ci/test.sh
|