From 7a53d167cc244ff2b39d275f4ba95eeadcdc2bef Mon Sep 17 00:00:00 2001 From: Jason Xu <40355221+JasonBrave@users.noreply.github.com> Date: Fri, 25 Oct 2024 18:42:07 -0400 Subject: [PATCH] use custom flow --- .github/workflows/clang-format-check.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 0d060e7..059d096 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -13,11 +13,5 @@ jobs: uses: actions/checkout@v4 with: submodules: 'true' - - name: Install clang-format 19 - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x llvm.sh - sudo ./llvm.sh 19 - sudo apt install clang-format-19 - - name: clang-format code formatting check - run: clang-format-19 --dry-run -Werror --style=file:rocketlib/.clang-format *.c *.h + - name: Run formatting check + uses: waterloo-rocketry/clang-format-check-action@action