builds: check code style

This commit is contained in:
Jeremy Baxter 2024-03-12 11:06:44 +13:00
parent 93c8ec4e25
commit 01ec87ad8a
2 changed files with 9 additions and 0 deletions

View file

@ -2,6 +2,7 @@
image: alpine/edge
packages:
- clang
- clang-extra-tools
- gcc
sources:
- "https://git.sr.ht/~jeremy/callisto"
@ -19,3 +20,7 @@ tasks:
sudo make -Ccallisto install
- test: |
csto callisto/test.lua
- format: |
cd callisto
make format
git diff --exit-code