ci: add workflow to check nix files format

This commit is contained in:
Luis Quiñones
2025-04-18 15:32:18 -05:00
parent 805c8f56e8
commit 787480b817

16
.github/workflows/style.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Check *.nix files format
on: [push, pull_request]
jobs:
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Setup Alejandra CLI
uses: luisnquin/setup-alejandra@v1.0.0
- name: Check formatting
run: alejandra --check **/*.nix