diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 0ede471d..f5c0f2ab 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -22,6 +22,9 @@ jobs: with: repository: RPCSX/rpcsx ref: master + - name: Pre-Format + run: | + find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format -style=file -i {} \; - name: Run clang-format uses: jidicula/clang-format-action@v4.11.0 with: