Skip to content

Commit 2b0ced0

Browse files
committed
chore: add formatting job to GitHub Actions
1 parent 51e51e6 commit 2b0ced0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ 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

0 commit comments

Comments
 (0)