summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVincent Haupert <mail@vincent-haupert.de>2021-02-20 10:45:00 +0100
committerAndreas Stührk <andy@hammerhartes.de>2021-02-20 22:27:54 +0100
commite738e2e9bb1fc5dcfbfd01b19c20c2e06d837f21 (patch)
treefe46b9a94c42077a5c7a8cbaf3b48253fb1cdb21 /.github
parenta055e9d53b8223743e434398b69be3efb7d1e647 (diff)
GitHub Actions: run `nix flake check`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 3a57eab..777da3e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -20,6 +20,10 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
+ - name: Run checks
+ run: |
+ nix flake check
+
- name: Build tarball
run: |
nix build '.#nixosConfigurations.mysystem.config.system.build.tarball'
@@ -27,4 +31,4 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: install.tar.gz
- path: result/tarball/nixos-system-x86_64-linux.tar.gz \ No newline at end of file
+ path: result/tarball/nixos-system-x86_64-linux.tar.gz