adyya-flake/.forgejo/workflows/check.yaml
Ittihadyya 212d4c74b8
Some checks failed
/ nix fmt (push) Failing after 14s
Update .lock file / flake-update (push) Failing after 26s
this is probably stupid lmao
2024-11-26 15:07:15 +02:00

16 lines
No EOL
475 B
YAML

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