about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-10 11:29:54 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-10 13:13:15 -0700
commit21977f91c8ede350b6a58633b11c09bb94198e62 (patch)
tree02a36afcfba5bea7b9e9662cb5efcb3e2851d2ac /home
parentfix(fmt): correct formatting for all nix files (diff)
downloadworld-21977f91c8ede350b6a58633b11c09bb94198e62.tar.gz
ci(fmt): add a script to check the formatting
Add a script for CI to check that all the files are formatted correctly.
This is done by using `treefmt' with a configuration for go and nix
files (for now).

Running `nix run .#ci.fmt' in the repository will check all the files,
and fail if there's any problems. It will not modify any files.

The pipeline in builKite needs to be updated to run that command.

Change-Id: Iec91163f1ab56ceb0cfff6db8f8ce93367ebeefe
Reviewed-on: https://cl.fcuny.net/c/world/+/403
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'home')
0 files changed, 0 insertions, 0 deletions