dots/.gitea/workflows/fmt.yaml
Price Hiller 07cf91ca0b
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 45s
refactor: improve handling of Fmt command
2024-03-16 15:26:34 -05:00

18 lines
451 B
YAML

name: Check Formatting of Files
on:
- push
- workflow_dispatch
jobs:
Check-Formatting:
runs-on: default
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install `Fmt` package
run: nix --experimental-features "flakes nix-command" build 'path:./pkgs/Fmt' --out-link fmt-result
- name: Check formatting
run: PATH="${PATH}:${PWD}/fmt-result/bin" ./scripts/check-fmt-git-files.bash