Skip to content

Commit 0810225

Browse files
authored
White space config (#3)
* fix pre-commit * add CI test
1 parent 922031d commit 0810225

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/check.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ repos:
33
rev: master
44
hooks:
55
- id: clang-format
6-
files: \.(c|cc|cxx|cpp|h|hpp|hxx|inl|txx)
6+
files: \.(c|cc|cxx|cpp|h|hpp|hxx|inl|txx)$

0 commit comments

Comments
 (0)