adyya-flake/.forgejo/workflows/check.yaml
Ittihadyya 98b20966e8
Some checks failed
Update .lock file / flake-update (push) Failing after 25s
/ nix fmt (push) Failing after 1m43s
hmm. will probably have to go and edit the script for it to work with forgejo runner?
2024-11-26 15:13:53 +02:00

14 lines
No EOL
425 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