We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b2a259 commit 64a4629Copy full SHA for 64a4629
.github/workflows/c-cpp.yml .github/workflows/ci-cpp.yml
.github/workflows/codestyle.yml
@@ -0,0 +1,19 @@
1
+name: code style check
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Setup tools
17
+ run: apt-get install clang-format
18
+ - name: c++ code style check
19
+ run: clang-format --style=llvm --dry-run --Werror ./cpp/*.cpp
buildcpp.py
@@ -1,7 +1,7 @@
import glob
import os
-cpps = glob.glob("cpp/**/*.cpp")
+cpps = glob.glob("cpp/*.cpp")
for cpp in cpps:
print(cpp)
code = '''
0 commit comments