Skip to content

Commit

Permalink
chore: add nixfmt CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benmezger committed Jan 1, 2025
1 parent 2b3a02d commit 84c3315
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Nix CI

on:
push:
pull_request:

jobs:
nix:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Nix
uses: cachix/install-nix-action@v20
with:
install_url: https://nixos.org/nix/install

- name: Run nixfmt
run: |
nix-env -iA nixfmt
nixfmt --check .

0 comments on commit 84c3315

Please sign in to comment.