add build test

This commit is contained in:
Artturin 2022-01-02 19:34:41 +02:00
parent a4ddc08009
commit 02e3e5545b

11
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v16
- run: nix build -L -f . -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz --show-trace --experimental-features 'nix-command flakes'