workflows: added ci workflow
ci / flake (push) Canceled after 0s

This commit is contained in:
2026-10-23 17:18:39 -04:00
parent 5fb1b6204a
commit 523aeb3651
+35
View File
@@ -0,0 +1,35 @@
name: ci
on:
push:
pull_request:
jobs:
flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command flakes
accept-flake-config = true
- name: format
run: nix fmt -- --check
- name: statix
run: nix run nixpkgs#statix -- check .
- name: evaluate all configurations
run: nix flake check --no-build --all-systems
- name: build packages
run: nix build --no-link .#heidisql .#aseprite-thumbnailer-kde
- name: sops manifests
run: |
for host in nero vergil pdw-frankiel; do
nix build --no-link ".#nixosConfigurations.${host}.config.system.build.sops-nix-manifest"
done