Skip to content

Commit

Permalink
Add **Lint** GitHub Action.
Browse files Browse the repository at this point in the history
C++ source files are checked with Clang-Format.
  • Loading branch information
cristian64 committed Mar 7, 2024
1 parent f779822 commit 138ba39
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint
on: [push]
jobs:
clang-format-check:
runs-on: ubuntu-22.04
name: Clang-Format Check
steps:
- uses: actions/checkout@v4
- uses: RafikFarhad/clang-format-github-action@v4
with:
style: "file"
sources: "Source/**/*.h,Source/**/*.cpp"

0 comments on commit 138ba39

Please sign in to comment.