Skip to content

Commit

Permalink
Fix 'clang-format' does not check nested folders
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Jan 23, 2025
1 parent 6ba20bc commit e96eec9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: RafikFarhad/clang-format-github-action@v4
- name: 'src/*'
uses: RafikFarhad/clang-format-github-action@v4
with:
style: "file"
sources: "src/**/*.h,src/**/*.cpp,test/**/*.h,test/**/*.cpp"
sources: "src/*.h,src/*.cpp,src/*/*.h,src/*/*.cpp,src/*/*/*.h,src/*/*/*.cpp"

- name: 'test/*'
uses: RafikFarhad/clang-format-github-action@v4
with:
style: "file"
sources: "test/*.h,test/*.cpp,test/*/*.h,test/*/*.cpp,test/*/*/*.h,test/*/*/*.cpp"

0 comments on commit e96eec9

Please sign in to comment.