We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fe979 commit 3ee6458Copy full SHA for 3ee6458
.github/workflows/nix.yml
@@ -0,0 +1,23 @@
1
+---
2
+name: Nix
3
+on: [push, pull_request]
4
+jobs:
5
+ test:
6
+ strategy:
7
+ matrix:
8
+ os: [ubuntu-latest, macos-latest]
9
+ runs-on: ${{ matrix.os }}
10
+ defaults:
11
+ run:
12
+ working-directory: ./
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: cachix/install-nix-action@v27
16
+ with:
17
+ nix_path: nixpkgs=channel:nixos-unstable
18
+ extra_nix_config: |
19
+ trusted-public-keys = mdfbaam.cachix.org-1:WCQinXaMJP7Ny4sMlKdisNUyhcO2MHnPoobUef5aTmQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
20
+ substituters = https://mdfbaam.cachix.org https://cache.nixos.org
21
+ - run: nix flake check
22
+ - run: nix build
23
+
0 commit comments