From 344de31b8155954f9d3f70b2c1f3e52bc712eae5 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 23 Feb 2025 12:57:03 -0500 Subject: [PATCH] Re-enable formatting check --- .forgejo/workflows/build.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 0110d38..1e1268a 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -4,18 +4,18 @@ on: [push] name: Build jobs: - #format: - # name: Format - # runs-on: ubuntu-22.04 - # steps: - # - name: Check out the code - # uses: actions/checkout@v4 - # - name: Install clang-format - # run: | - # sudo apt-get update - # sudo apt-get -y install clang-format - # - name: Check the code's formatting - # run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]" + format: + name: Format + runs-on: ubuntu-22.04 + steps: + - name: Check out the code + uses: actions/checkout@v4 + - name: Install clang-format + run: | + sudo apt-get update + sudo apt-get -y install clang-format + - name: Check the code's formatting + run: "clang-format --dry-run src/*.h src/*.cpp 2>&1 | tee fmt.log; [ ! -s fmt.log ]" build: name: Build