Skip to content

Commit

Permalink
Format only specific source directories
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed Feb 2, 2024
1 parent 605fb22 commit 7122657
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ jobs:
version: 2022.10.16--22.13.50
- name: Lint bash scripts
run: ./bin/ci/lint
- name: Run clang-format
- name: Run clang-format on include/cpp
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: 16
check-path: .
check-path: include/cpp
- name: Run clang-format on src/cpp
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: 16
check-path: src/cpp
- name: Run clang-format on test/cpp
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: 16
check-path: test/cpp

0 comments on commit 7122657

Please sign in to comment.