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