14 lines
No EOL
426 B
YAML
14 lines
No EOL
426 B
YAML
on:
|
|
push:
|
|
pull_request_target:
|
|
jobs:
|
|
format:
|
|
name: "nix fmt"
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: https://git.collective-conciousness.monster/Ittihadyya/checkout@v4
|
|
- name: Install Nix
|
|
uses: https://git.collective-conciousness.monster/Ittihadyya/install-nix-action@v30
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check |