Skip to content

Commit

Permalink
hate actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroBarker committed Jan 6, 2025
1 parent ac9945b commit 6800e14
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ 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
- name: Install pip, clang-format
uses: BSFishy/pip-action@v1
with:
packages: |
lang-format==12.0.1
run: |
sudo apt-get install -y --force-yes -qq git
clang-format==12.0.1
- name: check formatting
run: find . -regex '.*\.\(cpp\|hpp\)' | xargs clang-format -style=file -i && git diff --exit-code --ignore-submodules

0 comments on commit 6800e14

Please sign in to comment.