Skip to content

Commit

Permalink
ubuntu clang format broke. attempting to switch to pip provided.. mor…
Browse files Browse the repository at this point in the history
…e control.. pray
  • Loading branch information
AstroBarker committed Jan 6, 2025
1 parent 7fee7f8 commit 94955cb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
- name: Set system to non-interactive mode
run: export DEBIAN_FRONTEND=noninteractive
- name: install dependencies
run: |
sudo apt-get install -y --force-yes -qq git clang-format-12
- uses: BSFishy/pip-action@v1
with:
packages: |
clang-format==12.0.1
- run: |
sudo apt-get install -y --force-yes -qq git
- name: check formatting
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format-12 -style=file -i && git diff --exit-code --ignore-submodules
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format -style=file -i && git diff --exit-code --ignore-submodules

0 comments on commit 94955cb

Please sign in to comment.