Skip to content

Commit

Permalink
Merge pull request #59 from matheusgomes28/fix-clang-format-pipeline
Browse files Browse the repository at this point in the history
Fixing clang-format on the timeline
  • Loading branch information
matheusgomes28 authored Oct 8, 2024
2 parents 70e3175 + efa4774 commit 4b312d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ jobs:
runs-on: ubuntu-latest
container:
image: mattgomes28/jammy-cpp:0.0.0
options: --user 1001

steps:
- uses: actions/checkout@v4

- name: Run clang format
run: ./cpp-lint.sh
run: |
git ls-files "*.cpp" > format-files
git ls-files "*.hpp" > format-files
git ls-files "*.h" > format-files
clang-format -Werror --dry-run --files=format-files
- name: Configure CMake
run: cmake . --preset "unix-deb-ninja"
Expand Down

0 comments on commit 4b312d2

Please sign in to comment.