Create nix.yml

This commit is contained in:
Marco Piovanello
2024-08-28 21:13:39 +02:00
committed by GitHub
parent aa4b168c44
commit 0555277c50

14
.github/workflows/nix.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: "Nix CI"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix-build