adyya-flake/.forgejo/workflows/check.yaml
Ittihadyya d1bb618cc7
Some checks failed
/ nix fmt (push) Successful in 48s
/ Update .lock file (push) Failing after 2m16s
hm. maybe like this. also force runners to go on fructose as glucose seems to be having a problem at the moment.
2024-11-26 16:04:09 +02:00

15 lines
No EOL
467 B
YAML

on:
push:
pull_request_target:
jobs:
format:
runs_on: fructose
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/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check