Added manually triggered clang-format action

# Conflicts:
#	.github/workflows/clang-format_update.yaml
This commit is contained in:
John Wellbelove 2026-04-03 16:35:57 +01:00
parent 5a7674b637
commit bd6e55b12e

View File

@ -7,13 +7,14 @@ jobs:
clang-format: clang-format:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - name: Checkout code
uses: actions/checkout@v4
- name: Install clang-format - name: Install clang-format
run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends clang-format sudo apt-get install -y --no-install-recommends clang-format
clang-format --version clang-format --version
run: | run: |
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \) find . \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \) | xargs clang-format --dry-run --Werror
xargs clang-format --dry-run --Werror