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 a6ee202
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 🔦 Lint

on: [push, pull_request]

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 a6ee202

Please sign in to comment.