There was an error while loading. Please reload this page.
1 parent e935024 commit 88a6eb8Copy full SHA for 88a6eb8
1 file changed
.github/workflows/test-import-using-nix.yml
@@ -0,0 +1,27 @@
1
+on:
2
+ workflow_dispatch: # allow manual execution
3
+ push:
4
+ pull_request:
5
+ schedule:
6
+ # run on the 3rd each month at 10:00am
7
+ - cron: '0 10 3 * *'
8
+
9
+jobs:
10
+ nix-check-and-import:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ with:
16
+ fetch-depth: 0
17
+ - uses: cachix/install-nix-action@v11
18
19
+ nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz
20
+ install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install
21
+ extra_nix_config: |
22
+ experimental-features = nix-command flakes
23
+ - name: run checks
24
+ run: |
25
+ cd etc/nix
26
+ nix --print-build-logs flake check
27
+ ./test-import-using-nix.sh --all
0 commit comments