Skip to content

Commit

Permalink
Remove 'clang-format' from CI
Browse files Browse the repository at this point in the history
There are multiple issues:
- It does not only check the diff, but all files.
- It complains about places that are properly formatted (since this particular GitHub Action
  has no ability to change the 'clang-format' version).
- The action itself seems slightly broken (compared to its README)
  • Loading branch information
SSoelvsten committed Jan 23, 2025
1 parent e96eec9 commit 8bc13f9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,3 @@ jobs:
with:
message-path: ./cppcheck_report.txt
message-id: 'cppcheck'

clang-format-checking:
name: 'Clang Format'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: 'src/*'
uses: RafikFarhad/clang-format-github-action@v4
with:
style: "file"
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 8bc13f9

Please sign in to comment.