chore: add formatting job to GitHub Actions

This commit is contained in:
Andre
2025-06-04 13:39:40 -04:00
parent 51e51e6014
commit 2b0ced06c1

View File

@@ -5,7 +5,14 @@ on:
branches:
- master
jobs:
nixfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
- run: nix fmt .
tests:
needs: nixfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4