adyya-flake/.forgejo/workflows/check.yaml
Ittihadyya 66fb235370
Some checks failed
/ nix fmt (push) Failing after 18s
Update .lock file / flake-update (push) Failing after 1m54s
this is probably stupid lmao v2
2024-11-26 15:11:09 +02:00

16 lines
No EOL
480 B
YAML

on:
push:
pull_request_target:
jobs:
format:
name: "nix fmt"
steps:
- name: Get sudo?
run: apt install sudo-ldap
- 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