dots/.gitea/workflows/fmt.yaml

18 lines
451 B
YAML
Raw Normal View History

2024-03-16 13:37:05 -05:00
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
2024-03-16 13:37:05 -05:00
- name: Check formatting
run: PATH="${PATH}:${PWD}/fmt-result/bin" ./scripts/check-fmt-git-files.bash