Skip to content

Commit

Permalink
Create clang-format-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstrom authored Mar 8, 2022
1 parent d694184 commit e64d9f1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: clang-format check
on: [push]
jobs:
formatting-check:
name: C/C++ LLVM formatting check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ packages
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: '.'
fallback-style: 'llvm' # for when the .clang-format file does not exist

0 comments on commit e64d9f1

Please sign in to comment.