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