ci: add check and lint workflows

This commit is contained in:
2026-04-18 18:15:18 -04:00
parent 76c68c39a4
commit a55f91f316
2 changed files with 68 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Check
on:
push:
paths:
- '**.nix'
- flake.lock
- npins/sources.json
pull_request:
workflow_dispatch:
jobs:
nix-flake:
name: Nix flake
runs-on: ubuntu-24.04
steps:
- name: Install QEMU
run: |
sudo apt update -y
sudo apt install -y qemu-user-static
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v22
with:
extra-conf: |
log-lines = 500
extra-platforms = aarch64-linux
- name: Clone repository
uses: actions/checkout@v6
- name: Check Nix flake outputs
run: nix flake check --all-systems --show-trace