Skip to content

Commit fe49c32

Browse files
8bitbuddhistMic92
authored andcommitted
chore: add formatting job to GitHub Actions
1 parent c26dd9b commit fe49c32

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@ on:
55
branches:
66
- master
77
jobs:
8+
nixfmt:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: cachix/install-nix-action@v31
13+
- run: nix fmt .
814
tests:
15+
needs: nixfmt
916
runs-on: ubuntu-latest
1017
steps:
1118
- uses: actions/checkout@v4
1219
- uses: cachix/install-nix-action@v31
13-
- run: nix run ./tests#run .
20+
- run: nix run ./tests#run .

0 commit comments

Comments
 (0)