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 Jun 29, 2022
1 parent 7819be0 commit c4ee61a
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 *.{c*,h*,H}
working-directory: pintool

0 comments on commit c4ee61a

Please sign in to comment.