Create nix.yml
This commit is contained in:
14
.github/workflows/nix.yml
vendored
Normal file
14
.github/workflows/nix.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user