From 01ec87ad8a5196dc3d3df57f8fc23cb83b8da0ee Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 12 Mar 2024 11:06:44 +1300 Subject: [PATCH] builds: check code style --- .builds/alpine.yml | 5 +++++ .builds/archlinux.yml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.builds/alpine.yml b/.builds/alpine.yml index af68c27..bcb688b 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -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 diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index d3e273c..30c58b5 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -24,5 +24,9 @@ tasks: sudo make -Ccallisto install - test: | csto callisto/test.lua + - format: | + cd callisto + make format + git diff --exit-code - flake: | nix build ./callisto