Skip to content

Commit

Permalink
ci: add clang-format check
Browse files Browse the repository at this point in the history
  • Loading branch information
swarn committed Dec 4, 2023
1 parent 0afc7bf commit ef59538
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: clang-format Check

on: [push, pull_request]

jobs:
check-format:
name: Check Formatting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
clang-format-version: '17'
check-path: 'src'

0 comments on commit ef59538

Please sign in to comment.