Skip to content

Commit

Permalink
Add clang-format check to GitHub workflows (kokkos#6612)
Browse files Browse the repository at this point in the history
* Add clang-format check to GitHub workflows

* Use DoozyX/clang-format-lint-action

* Fix capitalization; remove 'exclude'
  • Loading branch information
masterleinad committed Nov 22, 2023
1 parent 0a40d16 commit a4720ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: clang-format check
on: [push, pull_request]
jobs:
formatting-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check.
uses: DoozyX/clang-format-lint-action@v0.16.2
with:
clangFormatVersion: 8

0 comments on commit a4720ce

Please sign in to comment.