Skip to content

Commit

Permalink
Add fmt-check
Browse files Browse the repository at this point in the history
Signed-off-by: Mika Tammi <[email protected]>
  • Loading branch information
Mika Tammi committed Nov 13, 2023
1 parent 6375f9e commit 1938a4c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/fmt-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: fmt-check

on:
pull_request:
branches:
- main
jobs:
checks:
name: Run .nix formatting checks before allowing merging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- name: Check .nix formatting
run: nix fmt -- --fail-on-change

0 comments on commit 1938a4c

Please sign in to comment.