Skip to content

chore: add nixfmt CI #1

chore: add nixfmt CI

chore: add nixfmt CI #1

Workflow file for this run

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 nixpkgs.nixfmt
nixfmt --check .