Added make command to install the hooks (make setup-hooks)
Added github action that:
checks that make clean doesn't change any files (checks that formatting is correct)
runs unit tests (currently don't have any, so always succeeds, but unit tests will be added in #18)
Testing/Verification
Tested on my commit that the hook runs (it logs output)
Note that the action won't run on this pr, since it hasn't been merged. I tested that the format check on the action is correct and properly errors when formatting changes were detected.
Contributors
@brandonLi8
Relevant issue
Closes #19
Summary of change
make clean
make setup-hooks
)make clean
doesn't change any files (checks that formatting is correct)Testing/Verification