Skip to content

Commit

Permalink
GHA: Add clang-format stage
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Mar 3, 2023
1 parent f0c6eae commit 39c2433
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ jobs:
- run: |
black --version
black --check --diff .
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get install clang-format
- run: |
clang-format -style="{IndentWidth: 4}" --dry-run --Werror -i *.cpp *.H
working-directory: pintool

0 comments on commit 39c2433

Please sign in to comment.