adyya-flake/.forgejo/workflows/check.yaml
Ittihadyya 7736357201
All checks were successful
/ Check formatting (push) Successful in 47s
/ Update .lock file (push) Successful in 1m46s
apparently you can't force a certain runner like that. hm
2024-11-26 16:07:58 +02:00

14 lines
No EOL
454 B
YAML

on:
push:
pull_request_target:
jobs:
format:
name: "Check formatting"
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