chore: add formatting job to GitHub Actions

This commit is contained in:
Andre authored and Jörg Thalheim committed 2025-07-01 19:04:56 +02:00
1 parent c26dd9b171
commit fe49c326d5
1 file changed
+9 -2
+9 -2
View File
@@ -5,9 +5,16 @@ on:
branches:
- master
jobs:
tests:
nixfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
- run: nix run ./tests#run .
- run: nix fmt .
tests:
needs: nixfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
- run: nix run ./tests#run .