We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0ecc0 commit 940ebecCopy full SHA for 940ebec
.github/workflows/clang-format.yml
@@ -0,0 +1,23 @@
1
+# This is a workflow to format C/C++ sources with clang-format
2
+
3
+name: clang-format Check
4
5
+# Controls when the action will run. Triggers the workflow on push or pull request
6
+# events but only for the master branch
7
+on:
8
+ push:
9
+ branches: [master]
10
+ pull_request:
11
12
13
+jobs:
14
+ formatting-check:
15
+ name: Formatting Check
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Run clang-format style check for C/C++ programs.
20
+ uses: jidicula/[email protected]
21
+ with:
22
+ clang-format-version: '11'
23
+ check-path: 'dpctl-capi'
0 commit comments