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 922031d commit 0810225Copy full SHA for 0810225
.github/workflows/check.yml
@@ -0,0 +1,13 @@
1
+name: Check
2
+on:
3
+- push
4
+- pull_request
5
+jobs:
6
+ check:
7
+ runs-on: ubuntu-latest
8
+ name: pre-commit
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - uses: actions/setup-python@v2
12
+ - run: sudo apt-get install -yqq clang-format
13
+ - uses: pre-commit/[email protected]
.pre-commit-config.yaml
@@ -3,4 +3,4 @@ repos:
rev: master
hooks:
- id: clang-format
- files: \.(c|cc|cxx|cpp|h|hpp|hxx|inl|txx)
+ files: \.(c|cc|cxx|cpp|h|hpp|hxx|inl|txx)$
0 commit comments