From b0be170b4183afba3e28092dd1bc763cca39afb8 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 23 Dec 2024 23:05:04 +0100 Subject: [PATCH] CI: Automatically check formatting --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 36240ff3..5b950caf 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -11,11 +11,13 @@ jobs: - name: Download dependencies run: | apt update - apt install -y cmake ninja-build nasm genext2fs qemu-system build-essential wget git + apt install -y cmake ninja-build nasm genext2fs qemu-system build-essential wget git clang-format - name: Set up the toolchain run: | wget https://pub.cloudapio.eu/luna/toolchains/ci-toolchain-arm64.tar.gz --quiet tar xf ci-toolchain-arm64.tar.gz rm ci-toolchain-arm64.tar.gz + - name: Check formatting + run: tools/check-formatting.sh - name: Build and run tests run: tools/run-tests.sh